Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.001337/0.001337, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.001449/0.001449, allocations: 173 kB / 23.36 MB, free: 0.9727 MB / 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.8975/0.8975, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.3/2.3, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.363e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002181/0.002195, allocations: 2.109 MB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.003739, allocations: 1.452 MB / 0.8421 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.003788, allocations: 4 kB / 0.8421 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.981e-05/0.003838, allocations: 19.78 kB / 0.8421 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.479e-05/0.003923, allocations: 55.48 kB / 0.8421 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006877/0.00461, allocations: 346.6 kB / 0.8425 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.004775, allocations: 239 kB / 0.8427 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.00487, allocations: 38.38 kB / 0.8427 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.004977, allocations: 131.8 kB / 0.8429 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.698e-05/0.005074, allocations: 75.83 kB / 0.8429 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.005097, allocations: 16 kB / 0.8429 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.005524, allocations: 359.4 kB / 0.8433 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.005555, allocations: 39.89 kB / 0.8433 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.005605, allocations: 75.83 kB / 0.8434 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.005968, allocations: 394.8 kB / 0.8438 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.00597, allocations: 0 / 0.8438 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00597, allocations: 0 / 0.8438 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.005974, allocations: 0 / 0.8438 GB, free: 8.902 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004753/0.006449, allocations: 431.9 kB / 0.8442 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.006479, allocations: 12.62 kB / 0.8442 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008294/0.007309, allocations: 208.6 kB / 0.8444 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.849e-05/0.007387, allocations: 121.6 kB / 0.8445 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/0.007451, allocations: 75.97 kB / 0.8446 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.00748, allocations: 16.38 kB / 0.8446 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.007876, allocations: 301.8 kB / 0.8449 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.007884, allocations: 192 / 0.8449 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.007906, allocations: 8.375 kB / 0.8449 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.007912, allocations: 8.125 kB / 0.8449 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.008059, allocations: 103.9 kB / 0.845 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.009109, allocations: 0.4915 MB / 0.8455 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.009501, allocations: 198.4 kB / 0.8457 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.418e-05/0.009596, allocations: 72.84 kB / 0.8457 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.009647, allocations: 15.98 kB / 0.8458 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.009669, allocations: 42.81 kB / 0.8458 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.00967, allocations: 0 / 0.8458 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.003529/0.0132, allocations: 0.9488 MB / 0.8467 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.01322, allocations: 55.41 kB / 0.8468 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.365e-05/0.01329, allocations: 130.7 kB / 0.8469 GB, free: 5.543 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.01331, allocations: 25.7 kB / 0.8469 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.01336, allocations: 120.3 kB / 0.847 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.0134, allocations: 63.47 kB / 0.8471 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.01347, allocations: 45.66 kB / 0.8471 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.01354, allocations: 326.8 kB / 0.8475 GB, free: 4.949 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.01362, allocations: 55.98 kB / 0.8475 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.0137, allocations: 65.05 kB / 0.8476 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.01385, allocations: 110.8 kB / 0.8477 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01386, allocations: 0 / 0.8477 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002089/0.01594, allocations: 0.5836 MB / 0.8482 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.01596, allocations: 7.984 kB / 0.8483 GB, free: 4.121 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.01596, allocations: 0 / 0.8483 GB, free: 4.121 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004941/0.01645, allocations: 251.6 kB / 0.8485 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.0167, allocations: 75.94 kB / 0.8486 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004258/0.01713, allocations: 0.638 MB / 0.8492 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.01729, allocations: 39.86 kB / 0.8492 GB, free: 3.098 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.01731, allocations: 7.984 kB / 0.8492 GB, free: 3.09 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of prepare postOptimizeDAE: time 8.618e-05/0.01739, allocations: 121.8 kB / 0.8493 GB, free: 2.961 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.01743, allocations: 15.98 kB / 0.8494 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/0.01795, allocations: 310.8 kB / 0.8497 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.01795, allocations: 0 / 0.8497 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.01795, allocations: 0 / 0.8497 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01796, allocations: 7.984 kB / 0.8497 GB, free: 2.629 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009696/0.01893, allocations: 0.5399 MB / 0.8502 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01893, allocations: 3.938 kB / 0.8502 GB, free: 2.051 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.01915, allocations: 67.97 kB / 0.8503 GB, free: 1.984 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.01961, allocations: 244.6 kB / 0.8505 GB, free: 1.742 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01962, allocations: 3.984 kB / 0.8505 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000401/0.02002, allocations: 0.644 MB / 0.8511 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.02003, allocations: 0 / 0.8511 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.02031, allocations: 285.9 kB / 0.8514 GB, free: 0.7656 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.02032, allocations: 23.83 kB / 0.8514 GB, free: 0.7422 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.02035, allocations: 8 kB / 0.8514 GB, free: 0.7344 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.02053, allocations: 23.97 kB / 0.8515 GB, free: 0.7109 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.02055, allocations: 11.92 kB / 0.8515 GB, free: 0.6992 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.02057, allocations: 11.98 kB / 0.8515 GB, free: 0.6875 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.702e-05/0.02059, allocations: 24.83 kB / 0.8515 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02059, allocations: 0 / 0.8515 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000268/0.02086, allocations: 135.6 kB / 0.8516 GB, free: 0.5273 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002603/0.02112, allocations: 207.9 kB / 0.8518 GB, free: 320 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006526/0.02177, allocations: 246.2 kB / 0.8521 GB, free: 72 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.02177, allocations: 0 / 0.8521 GB, free: 72 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005093/0.02228, allocations: 168.6 kB / 0.8522 GB, free: 15.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.02247, allocations: 56.05 kB / 0.8523 GB, free: 15.85 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.0261, allocations: 1.009 MB / 0.8533 GB, free: 14.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.032e-05/0.02615, allocations: 71.84 kB / 0.8533 GB, free: 14.71 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001336/0.02628, allocations: 45.53 kB / 0.8534 GB, free: 14.67 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.02644, allocations: 87.31 kB / 0.8535 GB, free: 14.59 MB / 0.823 GB Notification: Performance of SimCode: time 3.6e-07/0.02644, allocations: 0 / 0.8535 GB, free: 14.59 MB / 0.823 GB Notification: Performance of Templates: time 0.008307/0.03475, allocations: 7.847 MB / 0.8611 GB, free: 6.785 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.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.151568202767521]