Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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,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") 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_9_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.001349/0.001349, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.001436/0.001437, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.226/2.226, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 59.91 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8742/0.8756, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003371/0.879, allocations: 2.045 MB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.8816, allocations: 1.669 MB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.8818, allocations: 1.688 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.372e-05/0.8819, allocations: 19.7 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.8821, allocations: 49.08 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.8835, allocations: 358.8 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.8838, allocations: 228.6 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.884, allocations: 61.31 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.8842, allocations: 84.94 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.8844, allocations: 93.98 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.8844, allocations: 19.16 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.8855, allocations: 411.6 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.8856, allocations: 47.09 kB / 1.094 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.8857, allocations: 90.25 kB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008213/0.8865, allocations: 436.8 kB / 1.094 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.8865, allocations: 0.75 kB / 1.094 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8865, allocations: 4 kB / 1.094 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.8865, allocations: 0 / 1.094 GB, free: 2.098 MB / 0.8575 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.0008959/0.8874, allocations: 0.5222 MB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.8875, allocations: 9.75 kB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.8887, allocations: 137.2 kB / 1.095 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.8888, allocations: 182.3 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/0.8889, allocations: 53.95 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.8889, allocations: 19.27 kB / 1.095 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.8895, allocations: 210.1 kB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.8896, allocations: 4.844 kB / 1.095 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.8896, allocations: 5.875 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.8896, allocations: 7.344 kB / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008103/0.8904, allocations: 236 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.8919, allocations: 0.9564 MB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.8925, allocations: 185 kB / 1.096 GB, free: 280 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/0.8928, allocations: 118.2 kB / 1.097 GB, free: 228 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006832/0.8935, allocations: 0.5209 MB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.8936, allocations: 48.05 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.8936, allocations: 0 / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16): time 0.001296/0.8949, allocations: 329 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.8949, allocations: 53.47 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.8951, allocations: 161.9 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.8952, allocations: 28.19 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.8953, allocations: 121.8 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.8953, allocations: 55.67 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.8954, allocations: 40.05 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.8956, allocations: 322.1 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.896, allocations: 112.4 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.8963, allocations: 122.9 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006981/0.8971, allocations: 191.5 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.8971, allocations: 0.5625 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009004/0.898, allocations: 280.7 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.898, allocations: 4.844 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.898, allocations: 1.094 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.898, allocations: 1.891 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.8984, allocations: 54.08 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.8985, allocations: 1.781 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.8988, allocations: 36.05 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.8988, allocations: 6.234 kB / 1.099 GB, free: 14.43 MB / 0.8731 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.0001362/0.899, allocations: 125.5 kB / 1.099 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.899, allocations: 15.38 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009035/0.8999, allocations: 269.2 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.8999, allocations: 6.188 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.9, allocations: 0 / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.9, allocations: 1.703 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.902, allocations: 1.067 MB / 1.1 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.902, allocations: 5 kB / 1.1 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.9024, allocations: 45.84 kB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.9024, allocations: 2.375 kB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.9024, allocations: 7.188 kB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.9024, allocations: 5.672 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.9024, allocations: 0.8438 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008556/0.9033, allocations: 352.7 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.659e-05/0.9034, allocations: 93.94 kB / 1.101 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.9034, allocations: 2.797 kB / 1.101 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.9038, allocations: 23.98 kB / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.9038, allocations: 15.69 kB / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.9039, allocations: 13.11 kB / 1.101 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001062/0.904, allocations: 119.6 kB / 1.101 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/0.904, allocations: 3.938 kB / 1.101 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006322/0.9046, allocations: 130.8 kB / 1.101 GB, free: 12.76 MB / 0.8731 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.0005247/0.9052, allocations: 219.3 kB / 1.101 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009227/0.9061, allocations: 231.8 kB / 1.102 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.9061, allocations: 0 / 1.102 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003941/0.9065, allocations: 113.2 kB / 1.102 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.907, allocations: 51.11 kB / 1.102 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.9093, allocations: 0.4982 MB / 1.102 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.9096, allocations: 0.7128 MB / 1.103 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.9098, allocations: 28.06 kB / 1.103 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/0.9098, allocations: 0 / 1.103 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of Templates: time 0.009282/0.9191, allocations: 4.156 MB / 1.107 GB, free: 11.09 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches