Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 78.66 kB / 20.68 MB, free: 3.824 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 180.9 kB / 24.08 MB, free: 428 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.951/0.951, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.912/1.912, allocations: 377.9 MB / 0.6239 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.17e-05, allocations: 7.25 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001784/0.001816, allocations: 0.5605 MB / 0.8126 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 4.99e-05/0.001865, allocations: 5.062 kB / 0.8126 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.001898, allocations: 0 / 0.8126 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.001925, allocations: 0 / 0.8126 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.218e-05/0.001957, allocations: 1.406 kB / 0.8126 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.394e-05/0.001991, allocations: 0 / 0.8126 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.491e-05/0.002046, allocations: 4 kB / 0.8126 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.002092, allocations: 0 / 0.8126 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.002127, allocations: 0.875 kB / 0.8126 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.893e-05/0.002156, allocations: 11.91 kB / 0.8126 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.002175, allocations: 1.031 kB / 0.8126 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.018e-06/0.002179, allocations: 0 / 0.8126 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.002194, allocations: 4 kB / 0.8126 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.002215, allocations: 4.531 kB / 0.8126 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.822e-05/0.002283, allocations: 4.562 kB / 0.8126 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.002286, allocations: 0 / 0.8126 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.152e-06/0.002287, allocations: 1.25 kB / 0.8126 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.002292, allocations: 0 / 0.8126 GB, free: 0.8555 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003/0.002592, allocations: 336.4 kB / 0.8129 GB, free: 500 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.002645, allocations: 14.47 kB / 0.8129 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.002671, allocations: 0.9375 kB / 0.8129 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.154e-05/0.002763, allocations: 108.6 kB / 0.813 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.002775, allocations: 384 / 0.813 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.002783, allocations: 4.375 kB / 0.813 GB, free: 348 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.33e-05/0.002856, allocations: 26.27 kB / 0.8131 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.002864, allocations: 0.7188 kB / 0.8131 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.00287, allocations: 384 / 0.8131 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.002876, allocations: 1.906 kB / 0.8131 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.426e-06/0.002885, allocations: 3.938 kB / 0.8131 GB, free: 312 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.003171, allocations: 470.8 kB / 0.8135 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.079e-05/0.003262, allocations: 266.7 kB / 0.8138 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.0033, allocations: 126.9 kB / 0.8139 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.003333, allocations: 119.2 kB / 0.814 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.003385, allocations: 156.6 kB / 0.8142 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.003386, allocations: 0.5312 kB / 0.8142 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.114e-05/0.003448, allocations: 34.45 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.003507, allocations: 174.6 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.144e-05/0.003588, allocations: 154.8 kB / 0.8145 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.003598, allocations: 29.64 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.003646, allocations: 127.8 kB / 0.8147 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.52e-07/0.003646, allocations: 1.375 kB / 0.8147 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.003826, allocations: 19.36 kB / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.003953, allocations: 496.1 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-06/0.003957, allocations: 0 / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-06/0.003963, allocations: 1.156 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.125e-05/0.003994, allocations: 119.2 kB / 0.8153 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-05/0.004021, allocations: 119.2 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.881e-05/0.00408, allocations: 34.42 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.004123, allocations: 123.2 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/0.004154, allocations: 119.8 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.952e-05/0.004224, allocations: 251 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.332e-05/0.004257, allocations: 119.2 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.953e-05/0.004317, allocations: 247.7 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.00439, allocations: 131.1 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.00442, allocations: 123.2 kB / 0.8165 GB, free: 12.69 MB / 0.7761 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 (0): * Single equations (assignments): 0 * 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 0.0001185/0.004538, allocations: 391.8 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.004603, allocations: 156.8 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.004659, allocations: 149.5 kB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.587e-05/0.004735, allocations: 275.9 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-05/0.004806, allocations: 268.1 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.699e-05/0.004873, allocations: 264.1 kB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.005092, allocations: 489.5 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-05/0.005134, allocations: 148.9 kB / 0.8185 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.005175, allocations: 148.8 kB / 0.8187 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.287e-05/0.005248, allocations: 271.4 kB / 0.8189 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.619e-05/0.005324, allocations: 268.1 kB / 0.8192 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.14e-05/0.005406, allocations: 268 kB / 0.8194 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.893e-05/0.005485, allocations: 268.1 kB / 0.8197 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.005654, allocations: 451.9 kB / 0.8201 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.005707, allocations: 144.9 kB / 0.8203 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.005804, allocations: 272 kB / 0.8205 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.005892, allocations: 148.9 kB / 0.8207 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.005973, allocations: 275.9 kB / 0.8209 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.006018, allocations: 157.7 kB / 0.8211 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.006068, allocations: 121.1 kB / 0.8212 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006068, allocations: 0 / 0.8212 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002658/0.006334, allocations: 0 / 0.8212 GB, free: 7.68 MB / 0.7761 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 (0): * Single equations (assignments): 0 * 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.000167/0.006501, allocations: 215.8 kB / 0.8214 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.954e-05/0.006551, allocations: 4 kB / 0.8214 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.006553, allocations: 3.938 kB / 0.8214 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.006555, allocations: 1.219 kB / 0.8214 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/0.007131, allocations: 0.7062 MB / 0.8221 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.007336, allocations: 204.8 kB / 0.8223 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.546e-05/0.007371, allocations: 55.83 kB / 0.8223 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.024e-06/0.007373, allocations: 0 / 0.8223 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.007405, allocations: 67.11 kB / 0.8224 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of SimCode: time 8.52e-07/0.007406, allocations: 0 / 0.8224 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of Templates: time 0.001652/0.009058, allocations: 171 kB / 0.8226 GB, free: 6.207 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.123081135097891]