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.0008091/0.0008091, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001833, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007092/0.0007092, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009076/0.001617, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08423/1.035, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.472/2.472, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2418/2.713, allocations: 145.9 MB / 0.817 GB, free: 4.207 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.904e-06/1.904e-06, allocations: 0 / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.984e-05, allocations: 8.562 kB / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002462/0.002492, allocations: 2.152 MB / 0.8204 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.004051, allocations: 1.468 MB / 0.8218 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.046e-05/0.004112, allocations: 4 kB / 0.8218 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.853e-05/0.00416, allocations: 23.78 kB / 0.8219 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.169e-05/0.004222, allocations: 55.48 kB / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.004781, allocations: 318.6 kB / 0.8222 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.004965, allocations: 235 kB / 0.8224 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.005086, allocations: 38.44 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.005206, allocations: 143.7 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.754e-05/0.005304, allocations: 71.78 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.005331, allocations: 20 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.005814, allocations: 379.4 kB / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.005844, allocations: 35.92 kB / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.005895, allocations: 51.94 kB / 0.8231 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.006265, allocations: 339 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.384e-05/0.006279, allocations: 0 / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.61e-07/0.006279, allocations: 0 / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.006296, allocations: 7.938 kB / 0.8235 GB, free: 13.56 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.0006161/0.006912, allocations: 495.4 kB / 0.824 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.006946, allocations: 8.625 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000867/0.007813, allocations: 285.7 kB / 0.8242 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.862e-05/0.007902, allocations: 129.6 kB / 0.8244 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.00797, allocations: 71.97 kB / 0.8244 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.008002, allocations: 16.38 kB / 0.8244 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.008431, allocations: 309.8 kB / 0.8247 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.00844, allocations: 192 / 0.8247 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.008462, allocations: 4.375 kB / 0.8247 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.008471, allocations: 8.125 kB / 0.8247 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.008622, allocations: 107.7 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007983/0.009421, allocations: 0.5034 MB / 0.8253 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.009845, allocations: 184.8 kB / 0.8255 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.723e-05/0.009932, allocations: 72.83 kB / 0.8256 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.939e-05/0.009991, allocations: 19.98 kB / 0.8256 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.01002, allocations: 38.56 kB / 0.8256 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.01002, allocations: 0 / 0.8256 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.00345/0.01347, allocations: 0.9509 MB / 0.8266 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.01349, allocations: 55.41 kB / 0.8266 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.513e-05/0.01357, allocations: 129.4 kB / 0.8267 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.01359, allocations: 37.7 kB / 0.8268 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.01365, allocations: 124.2 kB / 0.8269 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.01369, allocations: 59.52 kB / 0.827 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/0.01376, allocations: 49.62 kB / 0.827 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.383e-05/0.01384, allocations: 318.8 kB / 0.8273 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.01392, allocations: 55.98 kB / 0.8274 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.01401, allocations: 66.34 kB / 0.8274 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.01416, allocations: 115.6 kB / 0.8275 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01416, allocations: 0 / 0.8275 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002052/0.01621, allocations: 0.5837 MB / 0.8281 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.01623, allocations: 8 kB / 0.8281 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01623, allocations: 0 / 0.8281 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005038/0.01673, allocations: 232.5 kB / 0.8283 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.01703, allocations: 91.84 kB / 0.8284 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004406/0.01747, allocations: 0.642 MB / 0.8291 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.01763, allocations: 43.86 kB / 0.8291 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.01764, allocations: 7.984 kB / 0.8291 GB, free: 7.566 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.884e-05/0.01773, allocations: 117.8 kB / 0.8292 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.01777, allocations: 15.98 kB / 0.8292 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005238/0.0183, allocations: 313.4 kB / 0.8295 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.0183, allocations: 4 kB / 0.8295 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.0183, allocations: 0 / 0.8295 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.0183, allocations: 3.984 kB / 0.8295 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009387/0.01924, allocations: 0.5305 MB / 0.8301 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.01924, allocations: 0 / 0.8301 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.0195, allocations: 79.98 kB / 0.8301 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.01951, allocations: 19.83 kB / 0.8301 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/0.01997, allocations: 236.6 kB / 0.8304 GB, free: 6.207 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.01999, allocations: 11.98 kB / 0.8304 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000504/0.0205, allocations: 0.642 MB / 0.831 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.0205, allocations: 0 / 0.831 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.02091, allocations: 293.8 kB / 0.8313 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.02094, allocations: 4 kB / 0.8313 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.02113, allocations: 35.97 kB / 0.8313 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.02116, allocations: 15.92 kB / 0.8313 GB, free: 5.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.02118, allocations: 7.984 kB / 0.8314 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.73e-05/0.0212, allocations: 23.91 kB / 0.8314 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.0212, allocations: 0 / 0.8314 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002737/0.02147, allocations: 143.6 kB / 0.8315 GB, free: 4.988 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.0002801/0.02175, allocations: 211.9 kB / 0.8317 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006835/0.02243, allocations: 240.4 kB / 0.8319 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.02244, allocations: 8 kB / 0.832 GB, free: 4.527 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.02292, allocations: 158.4 kB / 0.8321 GB, free: 4.371 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.02313, allocations: 74.89 kB / 0.8322 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/0.02814, allocations: 1.022 MB / 0.8332 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.981e-05/0.02818, allocations: 71.84 kB / 0.8332 GB, free: 3.156 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.02832, allocations: 45.53 kB / 0.8333 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.02849, allocations: 95.25 kB / 0.8334 GB, free: 3.02 MB / 0.8073 GB Notification: Performance of SimCode: time 8.82e-07/0.02849, allocations: 0 / 0.8334 GB, free: 3.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.008563/0.03705, allocations: 7.967 MB / 0.8412 GB, free: 11.08 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.ref.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.6433325111866]