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.005668/0.005668, allocations: 104.9 kB / 15.74 MB, free: 6.059 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.001153/0.001153, allocations: 199.8 kB / 16.68 MB, free: 5.969 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.21/2.21, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.89 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8357/0.8369, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003158/0.8401, allocations: 2.04 MB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.8426, allocations: 1.669 MB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.841e-05/0.8426, allocations: 2.281 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.92e-05/0.8427, allocations: 19.08 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.8428, allocations: 49.28 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.8439, allocations: 354.5 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.8442, allocations: 232.5 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.8443, allocations: 57.94 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.8445, allocations: 83.16 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.8446, allocations: 94.91 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.8447, allocations: 19.25 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008775/0.8455, allocations: 415.2 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.8456, allocations: 46.78 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.8457, allocations: 91.19 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006642/0.8464, allocations: 433 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8464, allocations: 0.6562 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8464, allocations: 0 / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.8464, allocations: 0.7188 kB / 1.093 GB, free: 2.133 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.0008087/0.8472, allocations: 0.5287 MB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.8473, allocations: 9.5 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.8484, allocations: 138 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.8485, allocations: 186 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.678e-05/0.8486, allocations: 54.19 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.8486, allocations: 15 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.8493, allocations: 217.8 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.8493, allocations: 3.938 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.8493, allocations: 5.781 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.8493, allocations: 3.969 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/0.8501, allocations: 232.9 kB / 1.095 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.8518, allocations: 0.9586 MB / 1.096 GB, free: 396 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.8523, allocations: 182.6 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.8527, allocations: 110 kB / 1.096 GB, free: 264 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007171/0.8534, allocations: 0.5235 MB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.8535, allocations: 40.53 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 1.903e-06/0.8535, allocations: 1 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16): time 0.001342/0.8548, allocations: 331.6 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.8549, allocations: 53.22 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.8551, allocations: 162.9 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.8551, allocations: 30.86 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.8552, allocations: 123.3 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/0.8553, allocations: 54.8 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.8554, allocations: 40.67 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8556, allocations: 321.9 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.8559, allocations: 107.7 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.8563, allocations: 126.5 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/0.857, allocations: 194.5 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.857, allocations: 0 / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007986/0.8578, allocations: 280.6 kB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8578, allocations: 5.312 kB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.8578, allocations: 1.953 kB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.8579, allocations: 5 kB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.8582, allocations: 50.08 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.8582, allocations: 2.094 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.8585, allocations: 31.83 kB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.8586, allocations: 10.5 kB / 1.098 GB, free: 14.47 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.0001372/0.8587, allocations: 128.6 kB / 1.098 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.8588, allocations: 15.53 kB / 1.098 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008699/0.8596, allocations: 273.2 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.584e-05/0.8597, allocations: 6.156 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8597, allocations: 4.641 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.8597, allocations: 1.688 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.8617, allocations: 1.064 MB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.8617, allocations: 5.594 kB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.862, allocations: 38.73 kB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.862, allocations: 2 kB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.862, allocations: 7.578 kB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-06/0.8621, allocations: 8.844 kB / 1.1 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8621, allocations: 5.062 kB / 1.1 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007981/0.8629, allocations: 345.9 kB / 1.1 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.8629, allocations: 93.58 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.863, allocations: 3.641 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.8633, allocations: 28.8 kB / 1.1 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.8633, allocations: 9.578 kB / 1.1 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.8634, allocations: 9.688 kB / 1.1 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.927e-05/0.8635, allocations: 120 kB / 1.1 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.844e-06/0.8635, allocations: 0 / 1.1 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006474/0.8641, allocations: 133.6 kB / 1.101 GB, free: 12.8 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.0004989/0.8646, allocations: 221.7 kB / 1.101 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008609/0.8655, allocations: 234.9 kB / 1.101 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8655, allocations: 0 / 1.101 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.8659, allocations: 113.6 kB / 1.101 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.8664, allocations: 50.14 kB / 1.101 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.8679, allocations: 437.7 kB / 1.102 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.8683, allocations: 0.7099 MB / 1.102 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001758/0.8684, allocations: 32.88 kB / 1.102 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.933e-05/0.8685, allocations: 21.38 kB / 1.102 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of SimCode: time 8.275e-06/0.8686, allocations: 0 / 1.102 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.01065/0.8792, allocations: 4.567 MB / 1.107 GB, free: 11.21 MB / 0.8731 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