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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 108 kB / 15.61 MB, free: 116 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 195.6 kB / 16.53 MB, free: 6.668 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.285/2.285, allocations: 390.3 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 59.91 kB / 0.8126 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.556/0.5575, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003151/0.5607, allocations: 2.036 MB / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.5627, allocations: 1.667 MB / 0.9533 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.5629, allocations: 5.688 kB / 0.9533 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.393e-05/0.5629, allocations: 17.45 kB / 0.9534 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.5631, allocations: 50.39 kB / 0.9534 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009651/0.5641, allocations: 361.8 kB / 0.9538 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.5643, allocations: 226.5 kB / 0.954 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.5644, allocations: 60.53 kB / 0.954 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.5645, allocations: 85.88 kB / 0.9541 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.5646, allocations: 94 kB / 0.9542 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.5647, allocations: 19.69 kB / 0.9542 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007244/0.5654, allocations: 405.4 kB / 0.9546 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.5655, allocations: 38.5 kB / 0.9546 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.06e-05/0.5656, allocations: 93.73 kB / 0.9547 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005325/0.5661, allocations: 435.7 kB / 0.9551 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5661, allocations: 0 / 0.9551 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5661, allocations: 0 / 0.9551 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.5661, allocations: 1.156 kB / 0.9551 GB, free: 5.023 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.0007264/0.5669, allocations: 0.5206 MB / 0.9557 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.5669, allocations: 9.875 kB / 0.9557 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.5669, allocations: 51.95 kB / 0.9557 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.5681, allocations: 137.1 kB / 0.9558 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.637e-05/0.5682, allocations: 188.8 kB / 0.956 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-05/0.5683, allocations: 51.47 kB / 0.9561 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.5683, allocations: 15.12 kB / 0.9561 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.5689, allocations: 221.7 kB / 0.9563 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5689, allocations: 1.594 kB / 0.9563 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.5689, allocations: 5.469 kB / 0.9563 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.5689, allocations: 3.219 kB / 0.9563 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000722/0.5697, allocations: 238.3 kB / 0.9565 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.5709, allocations: 0.9603 MB / 0.9575 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.5713, allocations: 186.4 kB / 0.9577 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.5717, allocations: 116.1 kB / 0.9578 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005006/0.5722, allocations: 0.5163 MB / 0.9583 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.5722, allocations: 43.86 kB / 0.9583 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.5722, allocations: 0 / 0.9583 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001131/0.5734, allocations: 323.4 kB / 0.9586 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.5734, allocations: 56.47 kB / 0.9587 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.5735, allocations: 163.3 kB / 0.9588 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.5735, allocations: 30.83 kB / 0.9589 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.5736, allocations: 114.2 kB / 0.959 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.5736, allocations: 62.42 kB / 0.959 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.5737, allocations: 38.67 kB / 0.9591 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.5738, allocations: 325.7 kB / 0.9594 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.5741, allocations: 104.1 kB / 0.9595 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.5745, allocations: 125.5 kB / 0.9596 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/0.5751, allocations: 196.3 kB / 0.9598 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5751, allocations: 1.312 kB / 0.9598 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007933/0.5759, allocations: 274.4 kB / 0.96 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.576, allocations: 5.125 kB / 0.96 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.576, allocations: 1.125 kB / 0.96 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.576, allocations: 5.031 kB / 0.9601 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.5764, allocations: 55.52 kB / 0.9601 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.5764, allocations: 1.656 kB / 0.9601 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.5767, allocations: 30.27 kB / 0.9601 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.5767, allocations: 13.33 kB / 0.9602 GB, free: 0.8047 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 8.854e-05/0.5768, allocations: 123.8 kB / 0.9603 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.5769, allocations: 19.19 kB / 0.9603 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008116/0.5777, allocations: 267.2 kB / 0.9605 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5777, allocations: 5.906 kB / 0.9605 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5777, allocations: 1.094 kB / 0.9605 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5777, allocations: 7.938 kB / 0.9606 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.5795, allocations: 1.066 MB / 0.9616 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5795, allocations: 0 / 0.9616 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.5799, allocations: 54.27 kB / 0.9616 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5799, allocations: 1.375 kB / 0.9616 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.5799, allocations: 2.594 kB / 0.9617 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5799, allocations: 1.406 kB / 0.9617 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5799, allocations: 1.406 kB / 0.9617 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008316/0.5808, allocations: 358.5 kB / 0.962 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.5808, allocations: 92.67 kB / 0.9621 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.5809, allocations: 5.438 kB / 0.9621 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.5812, allocations: 26.12 kB / 0.9621 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.5813, allocations: 9.453 kB / 0.9621 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.5813, allocations: 4.781 kB / 0.9621 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.017e-05/0.5814, allocations: 126.6 kB / 0.9622 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5814, allocations: 0 / 0.9622 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005151/0.5819, allocations: 133.7 kB / 0.9624 GB, free: 14.92 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.001456/0.5834, allocations: 1.002 MB / 0.9634 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008188/0.5842, allocations: 240.2 kB / 0.9636 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.5842, allocations: 3.938 kB / 0.9636 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.5846, allocations: 113.8 kB / 0.9637 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.5851, allocations: 37.73 kB / 0.9637 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/0.5903, allocations: 2.371 MB / 0.966 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.5906, allocations: 0.7065 MB / 0.9667 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002301/0.5908, allocations: 42.69 kB / 0.9668 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.5909, allocations: 42.52 kB / 0.9668 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.5909, allocations: 0 / 0.9668 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.6192, allocations: 6.279 MB / 0.973 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/8.187, allocations: 21.89 kB / 0.973 GB, free: 8.109 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv","/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