Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 191 kB / 16.13 MB, free: 6.652 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.655/0.6562, allocations: 140.4 MB / 0.9489 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003206/0.6595, allocations: 2.102 MB / 0.951 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00226/0.6617, allocations: 1.74 MB / 0.9527 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.6619, allocations: 1.844 kB / 0.9527 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.134e-05/0.662, allocations: 13.28 kB / 0.9527 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.6621, allocations: 41.53 kB / 0.9527 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000903/0.6631, allocations: 294.5 kB / 0.953 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.6633, allocations: 228.5 kB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.6634, allocations: 48.36 kB / 0.9533 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.785e-05/0.6635, allocations: 74.98 kB / 0.9533 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.6636, allocations: 89.05 kB / 0.9534 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.6637, allocations: 12.47 kB / 0.9534 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006985/0.6644, allocations: 382 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.6644, allocations: 45.88 kB / 0.9538 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.675e-05/0.6645, allocations: 84.34 kB / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004958/0.665, allocations: 426.8 kB / 0.9543 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.665, allocations: 0 / 0.9543 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.665, allocations: 5.031 kB / 0.9543 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.665, allocations: 0 / 0.9543 GB, free: 5.051 MB / 0.7169 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.000761/0.6658, allocations: 0.5215 MB / 0.9548 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.6658, allocations: 8.875 kB / 0.9549 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.667, allocations: 140.8 kB / 0.955 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/0.6671, allocations: 188.7 kB / 0.9552 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.321e-05/0.6672, allocations: 48 kB / 0.9552 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.6672, allocations: 25.78 kB / 0.9552 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005351/0.6678, allocations: 207.5 kB / 0.9554 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.6678, allocations: 3.938 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.6678, allocations: 11.06 kB / 0.9555 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6678, allocations: 8.281 kB / 0.9555 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007114/0.6686, allocations: 232.8 kB / 0.9557 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.6697, allocations: 0.9634 MB / 0.9566 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004587/0.6702, allocations: 187.7 kB / 0.9568 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.6705, allocations: 114.3 kB / 0.9569 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005195/0.6711, allocations: 0.5291 MB / 0.9574 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.6711, allocations: 40 kB / 0.9575 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.6711, allocations: 0 / 0.9575 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001088/0.6722, allocations: 328.5 kB / 0.9578 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.6722, allocations: 53.22 kB / 0.9578 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.6723, allocations: 157.9 kB / 0.958 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.6724, allocations: 30.83 kB / 0.958 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.6724, allocations: 118.8 kB / 0.9581 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.6725, allocations: 53.88 kB / 0.9582 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.6726, allocations: 43.17 kB / 0.9582 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.632e-05/0.6726, allocations: 325.6 kB / 0.9585 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.6729, allocations: 100.1 kB / 0.9586 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.6733, allocations: 124.7 kB / 0.9587 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006174/0.6739, allocations: 200.8 kB / 0.9589 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6739, allocations: 0 / 0.9589 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007688/0.6747, allocations: 280.2 kB / 0.9592 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6747, allocations: 5.375 kB / 0.9592 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6747, allocations: 0 / 0.9592 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.6748, allocations: 2.062 kB / 0.9592 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.6751, allocations: 55.48 kB / 0.9593 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.6752, allocations: 1.094 kB / 0.9593 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.6755, allocations: 31.14 kB / 0.9593 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.6755, allocations: 8.047 kB / 0.9593 GB, free: 0.8789 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 22 * 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 9.32e-05/0.6756, allocations: 124.4 kB / 0.9594 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.6756, allocations: 19.38 kB / 0.9594 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007875/0.6764, allocations: 266.6 kB / 0.9597 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.6765, allocations: 5.594 kB / 0.9597 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6765, allocations: 4.969 kB / 0.9597 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.6765, allocations: 0 / 0.9597 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.6781, allocations: 1.066 MB / 0.9607 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.6782, allocations: 8.656 kB / 0.9607 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.6785, allocations: 45.73 kB / 0.9608 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.6785, allocations: 1.281 kB / 0.9608 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.6785, allocations: 6.094 kB / 0.9608 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6785, allocations: 1.875 kB / 0.9608 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6785, allocations: 4.875 kB / 0.9608 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/0.6794, allocations: 352.6 kB / 0.9611 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.6794, allocations: 101.1 kB / 0.9612 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.6795, allocations: 2.25 kB / 0.9612 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.6798, allocations: 29.09 kB / 0.9613 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.6799, allocations: 9.891 kB / 0.9613 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.6799, allocations: 3.906 kB / 0.9613 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.611e-05/0.68, allocations: 127.3 kB / 0.9614 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.68, allocations: 0 / 0.9614 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004908/0.6805, allocations: 131.1 kB / 0.9615 GB, free: 15 MB / 0.7325 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 (16): * Single equations (assignments): 16 * 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.0004314/0.6809, allocations: 226.2 kB / 0.9617 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007633/0.6817, allocations: 226.1 kB / 0.962 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6817, allocations: 0 / 0.962 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.6821, allocations: 118.5 kB / 0.9621 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.6825, allocations: 49.5 kB / 0.9621 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.6841, allocations: 481.4 kB / 0.9626 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.6844, allocations: 0.7159 MB / 0.9633 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000202/0.6846, allocations: 32.72 kB / 0.9633 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.6847, allocations: 22.36 kB / 0.9633 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.6847, allocations: 0 / 0.9633 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of Templates: time 0.008551/0.6932, allocations: 4.397 MB / 0.9676 GB, free: 11.38 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches