Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 104 kB / 16.4 MB, free: 6.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002261/0.002261, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437.1 MB / 0.7171 GB, free: 4.129 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 75.88 kB / 1.027 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8746/0.8766, allocations: 151.6 MB / 1.175 GB, free: 17.45 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001899/0.8786, allocations: 0.7024 MB / 1.175 GB, free: 17.01 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008077/0.8794, allocations: 0.8097 MB / 1.176 GB, free: 16.4 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.8794, allocations: 4 kB / 1.176 GB, free: 16.39 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.8795, allocations: 3.938 kB / 1.176 GB, free: 16.39 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.26e-05/0.8796, allocations: 5.766 kB / 1.176 GB, free: 16.39 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.8797, allocations: 11.2 kB / 1.176 GB, free: 16.38 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.492e-05/0.8797, allocations: 46.92 kB / 1.176 GB, free: 16.36 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.8799, allocations: 11.06 kB / 1.176 GB, free: 16.36 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.072e-05/0.8799, allocations: 16.19 kB / 1.176 GB, free: 16.35 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.88, allocations: 19.31 kB / 1.176 GB, free: 16.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.88, allocations: 7.719 kB / 1.176 GB, free: 16.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.88, allocations: 7.25 kB / 1.176 GB, free: 16.33 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.8801, allocations: 10.95 kB / 1.176 GB, free: 16.32 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.8801, allocations: 18.25 kB / 1.176 GB, free: 16.31 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.8802, allocations: 45.88 kB / 1.176 GB, free: 16.29 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8802, allocations: 0.7969 kB / 1.176 GB, free: 16.29 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8803, allocations: 0 / 1.176 GB, free: 16.29 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.8803, allocations: 1.438 kB / 1.176 GB, free: 16.29 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004796/0.8807, allocations: 367.4 kB / 1.177 GB, free: 15.92 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.8808, allocations: 10.38 kB / 1.177 GB, free: 15.92 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.924e-05/0.8808, allocations: 36.48 kB / 1.177 GB, free: 15.88 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.8809, allocations: 7.078 kB / 1.177 GB, free: 15.87 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.126e-05/0.881, allocations: 167.9 kB / 1.177 GB, free: 15.67 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.881, allocations: 2.266 kB / 1.177 GB, free: 15.67 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.881, allocations: 1.75 kB / 1.177 GB, free: 15.67 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.8813, allocations: 69.47 kB / 1.177 GB, free: 15.63 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.8813, allocations: 7.938 kB / 1.177 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.8813, allocations: 0 / 1.177 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.8813, allocations: 5.375 kB / 1.177 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.8816, allocations: 62.73 kB / 1.177 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.8819, allocations: 273.6 kB / 1.177 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.8821, allocations: 55.27 kB / 1.177 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.8823, allocations: 41.88 kB / 1.177 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.8823, allocations: 1.438 kB / 1.177 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.8824, allocations: 36.58 kB / 1.178 GB, free: 15.23 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.8824, allocations: 0 / 1.178 GB, free: 15.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005408/0.8829, allocations: 128.2 kB / 1.178 GB, free: 15.19 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.883, allocations: 53.23 kB / 1.178 GB, free: 15.12 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.917e-05/0.883, allocations: 115 kB / 1.178 GB, free: 15.02 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.883, allocations: 25.7 kB / 1.178 GB, free: 14.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.8831, allocations: 95.3 kB / 1.178 GB, free: 14.89 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.8831, allocations: 9.984 kB / 1.178 GB, free: 14.88 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.8831, allocations: 17.52 kB / 1.178 GB, free: 14.86 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.8832, allocations: 313.8 kB / 1.178 GB, free: 14.55 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.8833, allocations: 30.72 kB / 1.178 GB, free: 14.55 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.8835, allocations: 35.73 kB / 1.178 GB, free: 14.54 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.8838, allocations: 79 kB / 1.178 GB, free: 14.51 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8838, allocations: 0 / 1.178 GB, free: 14.51 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003152/0.8841, allocations: 94.5 kB / 1.178 GB, free: 14.47 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.8841, allocations: 8.812 kB / 1.178 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8842, allocations: 0.7969 kB / 1.178 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.8842, allocations: 5.109 kB / 1.178 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.8843, allocations: 20.06 kB / 1.179 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.8843, allocations: 0 / 1.179 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.87e-05/0.8844, allocations: 11.75 kB / 1.179 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.8844, allocations: 1.766 kB / 1.179 GB, free: 14.46 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.961e-05/0.8845, allocations: 116.8 kB / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.8845, allocations: 9.141 kB / 1.179 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.8849, allocations: 105.5 kB / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.8849, allocations: 1.094 kB / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8849, allocations: 0 / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8849, allocations: 0 / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.885, allocations: 171.5 kB / 1.179 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.885, allocations: 0 / 1.179 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.635e-05/0.8851, allocations: 20.69 kB / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8851, allocations: 0 / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.8852, allocations: 1.188 kB / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8852, allocations: 4.562 kB / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8852, allocations: 0 / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.8855, allocations: 206.5 kB / 1.179 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.8855, allocations: 79.33 kB / 1.179 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.8856, allocations: 1.641 kB / 1.179 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.8857, allocations: 11.55 kB / 1.179 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.8857, allocations: 7.078 kB / 1.179 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.8857, allocations: 1.219 kB / 1.179 GB, free: 13.82 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.811e-05/0.8858, allocations: 83.84 kB / 1.179 GB, free: 13.74 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8858, allocations: 1.5 kB / 1.179 GB, free: 13.74 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002151/0.886, allocations: 13.25 kB / 1.179 GB, free: 13.73 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005681/0.8866, allocations: 0.7396 MB / 1.18 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.8869, allocations: 67.11 kB / 1.18 GB, free: 13.04 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8869, allocations: 0 / 1.18 GB, free: 13.04 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.8871, allocations: 35.11 kB / 1.18 GB, free: 13.04 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.8875, allocations: 12.5 kB / 1.18 GB, free: 13.03 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.8879, allocations: 159.5 kB / 1.18 GB, free: 12.87 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.888, allocations: 0.6794 MB / 1.181 GB, free: 12.17 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.888, allocations: 1.781 kB / 1.181 GB, free: 12.17 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.8881, allocations: 14.98 kB / 1.181 GB, free: 12.16 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.8881, allocations: 0 / 1.181 GB, free: 12.16 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.9111, allocations: 1.624 MB / 1.183 GB, free: 11.76 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/9.148, allocations: 1.75 kB / 1.183 GB, free: 11.76 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.00421996298246]