Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001409, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 194.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.538/2.538, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 71.95 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2514, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00181/0.2532, allocations: 0.779 MB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000886/0.2541, allocations: 0.868 MB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.2542, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.2542, allocations: 7.875 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.433e-05/0.2543, allocations: 11.88 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.2544, allocations: 35.95 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.2545, allocations: 87.81 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.2546, allocations: 23.98 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.863e-05/0.2547, allocations: 39.86 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.2548, allocations: 47.81 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.2548, allocations: 8 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.2548, allocations: 8 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.2549, allocations: 23.91 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.2549, allocations: 43.78 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.255, allocations: 83.72 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.255, allocations: 0 / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2551, allocations: 0 / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2551, allocations: 4 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000557/0.2556, allocations: 387.5 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.2557, allocations: 12.03 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.2557, allocations: 34.75 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.2557, allocations: 12.84 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2559, allocations: 180.2 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2559, allocations: 4.375 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.2559, allocations: 12.31 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.2562, allocations: 110.2 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.2562, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2562, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2562, allocations: 4 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.2566, allocations: 99.91 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.2571, allocations: 344.6 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005696/0.2577, allocations: 126.5 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.2579, allocations: 56.81 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.2579, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.2579, allocations: 34.56 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.2579, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006355/0.2585, allocations: 181.5 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.2586, allocations: 55.39 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/0.2587, allocations: 133.6 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2587, allocations: 29.7 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.2588, allocations: 99.98 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.2588, allocations: 11.81 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.2589, allocations: 21.7 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.259, allocations: 326.8 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.2592, allocations: 43.95 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.2593, allocations: 47.95 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.2597, allocations: 96.77 kB / 1.068 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2597, allocations: 0 / 1.068 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000393/0.2601, allocations: 137.5 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.2601, allocations: 5.094 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2601, allocations: 0 / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2601, allocations: 4 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.2603, allocations: 27.91 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.2603, allocations: 0 / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2604, allocations: 19.91 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.2604, allocations: 4 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.049e-05/0.2605, allocations: 117.8 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.2606, allocations: 7.906 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/0.261, allocations: 149.9 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.261, allocations: 4 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.261, allocations: 0 / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.261, allocations: 11.94 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.2613, allocations: 197.5 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2613, allocations: 3.938 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.2614, allocations: 23.97 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2614, allocations: 4 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2615, allocations: 3.938 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2615, allocations: 0 / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2615, allocations: 0 / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.2619, allocations: 243.9 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.262, allocations: 88.95 kB / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.262, allocations: 0 / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.2622, allocations: 15.97 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.2623, allocations: 19.92 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.2623, allocations: 8 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.314e-05/0.2624, allocations: 99.2 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2624, allocations: 0 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002097/0.2626, allocations: 12 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007701/0.2634, allocations: 0.7788 MB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003976/0.2638, allocations: 103.8 kB / 1.07 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2638, allocations: 4 kB / 1.07 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.264, allocations: 63.94 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.2643, allocations: 11.94 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.2663, allocations: 1.535 MB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.2666, allocations: 0.6924 MB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.484e-05/0.2667, allocations: 15.98 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.2667, allocations: 27.42 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2667, allocations: 0 / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9811/1.248, allocations: 2.665 MB / 1.075 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.88, allocations: 5.625 kB / 1.075 GB, free: 2.203 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches