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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001424, allocations: 104.1 kB / 16.41 MB, free: 6.5 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.001458/0.001459, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.48/2.48, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001508, allocations: 67.88 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.864/0.8656, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003804/0.8694, allocations: 2.04 MB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002698/0.8721, allocations: 1.667 MB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.8723, allocations: 0 / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.612e-05/0.8724, allocations: 23.78 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.8726, allocations: 43.56 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.8739, allocations: 366.8 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.8742, allocations: 235 kB / 1.213 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.8744, allocations: 57.52 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.8746, allocations: 75.84 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.8748, allocations: 99.59 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.8748, allocations: 16 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009278/0.8757, allocations: 415.5 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.8758, allocations: 43.83 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.8759, allocations: 91.66 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007693/0.8767, allocations: 440.6 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8767, allocations: 0 / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8767, allocations: 4 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.8767, allocations: 0 / 1.214 GB, free: 8.008 MB / 0.9356 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.001048/0.8778, allocations: 0.5225 MB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.8778, allocations: 8.031 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.879, allocations: 144.6 kB / 1.215 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.8792, allocations: 176.2 kB / 1.215 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.8793, allocations: 50.25 kB / 1.215 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.8793, allocations: 20.38 kB / 1.215 GB, free: 7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.8799, allocations: 214.1 kB / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.8799, allocations: 3.938 kB / 1.215 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.88, allocations: 4 kB / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.88, allocations: 8 kB / 1.215 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007483/0.8808, allocations: 241.1 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.8823, allocations: 0.9624 MB / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.8828, allocations: 190.5 kB / 1.216 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.8832, allocations: 109.1 kB / 1.216 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006966/0.8839, allocations: 0.522 MB / 1.217 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.8839, allocations: 38.56 kB / 1.217 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.195e-06/0.8839, allocations: 0 / 1.217 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.00143/0.8854, allocations: 325.5 kB / 1.217 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.8854, allocations: 55.39 kB / 1.217 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.8856, allocations: 160.7 kB / 1.217 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.8856, allocations: 25.7 kB / 1.218 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.8857, allocations: 136 kB / 1.218 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.8858, allocations: 43.3 kB / 1.218 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.8859, allocations: 45.61 kB / 1.218 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.886, allocations: 326.8 kB / 1.218 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.8864, allocations: 107.9 kB / 1.218 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.8867, allocations: 121.6 kB / 1.218 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.8874, allocations: 191.5 kB / 1.218 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8874, allocations: 3.938 kB / 1.218 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007937/0.8882, allocations: 279.6 kB / 1.219 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8882, allocations: 4 kB / 1.219 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.8882, allocations: 4 kB / 1.219 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.8882, allocations: 0 / 1.219 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.8886, allocations: 55.83 kB / 1.219 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.8887, allocations: 0 / 1.219 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.889, allocations: 43.72 kB / 1.219 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.889, allocations: 4 kB / 1.219 GB, free: 2.496 MB / 0.9356 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 0.0001421/0.8891, allocations: 125.8 kB / 1.219 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.8892, allocations: 15.84 kB / 1.219 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008244/0.89, allocations: 268.8 kB / 1.219 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.89, allocations: 7.938 kB / 1.219 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8901, allocations: 0 / 1.219 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.8901, allocations: 3.984 kB / 1.219 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.8919, allocations: 1.065 MB / 1.22 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.8919, allocations: 3.938 kB / 1.22 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.8922, allocations: 51.97 kB / 1.22 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.8923, allocations: 0 / 1.22 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.8923, allocations: 4 kB / 1.22 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.8923, allocations: 4 kB / 1.22 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.8923, allocations: 3.984 kB / 1.22 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007883/0.8931, allocations: 348.9 kB / 1.221 GB, free: 432 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.8932, allocations: 92.89 kB / 1.221 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.8932, allocations: 0 / 1.221 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.8935, allocations: 27.97 kB / 1.221 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.8936, allocations: 11.92 kB / 1.221 GB, free: 280 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.8936, allocations: 15.98 kB / 1.221 GB, free: 264 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.468e-05/0.8937, allocations: 121.5 kB / 1.221 GB, free: 144 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8937, allocations: 0 / 1.221 GB, free: 144 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004907/0.8942, allocations: 127.9 kB / 1.221 GB, free: 16 kB / 0.9356 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.0005098/0.8947, allocations: 223 kB / 1.221 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007674/0.8955, allocations: 227.8 kB / 1.221 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8955, allocations: 0 / 1.221 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.8959, allocations: 120 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.8964, allocations: 53.88 kB / 1.222 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.8985, allocations: 0.4903 MB / 1.222 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.8988, allocations: 0.7164 MB / 1.223 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.8989, allocations: 27.42 kB / 1.223 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of SimCode: time 6.32e-07/0.899, allocations: 0 / 1.223 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of Templates: time 0.007504/0.9065, allocations: 4.148 MB / 1.227 GB, free: 9.977 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches