Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001362/0.001362, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001348/0.001349, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.314/1.314, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.468/2.468, allocations: 437 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001584, allocations: 60.56 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3296, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003982/0.3336, allocations: 2.041 MB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00279/0.3365, allocations: 1.667 MB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.3366, allocations: 0 / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.721e-05/0.3367, allocations: 19.8 kB / 1.022 GB, free: 6.902 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.337, allocations: 51.55 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.3383, allocations: 362.8 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.3386, allocations: 231.1 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.3388, allocations: 53.44 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.339, allocations: 83.77 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.3392, allocations: 91.67 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.3392, allocations: 20 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009767/0.3402, allocations: 395.5 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.3403, allocations: 51.88 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.3404, allocations: 87.66 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008947/0.3413, allocations: 439.2 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3413, allocations: 0 / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3413, allocations: 0 / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.3413, allocations: 0 / 1.023 GB, free: 5.066 MB / 0.795 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.001061/0.3424, allocations: 0.5187 MB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.3425, allocations: 12.62 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.3437, allocations: 132.6 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.3439, allocations: 188.1 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.344, allocations: 50.27 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.344, allocations: 12.38 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006282/0.3446, allocations: 223.3 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3447, allocations: 7.938 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.3447, allocations: 4 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3447, allocations: 4 kB / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007677/0.3455, allocations: 235.8 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.3471, allocations: 0.9739 MB / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.3476, allocations: 182.6 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.348, allocations: 104.8 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000705/0.3487, allocations: 0.5259 MB / 1.026 GB, free: 1.574 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3488, allocations: 34.5 kB / 1.026 GB, free: 1.531 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 2.515e-06/0.3488, allocations: 4 kB / 1.026 GB, free: 1.527 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.001223/0.35, allocations: 333.6 kB / 1.027 GB, free: 1.195 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.3501, allocations: 51.41 kB / 1.027 GB, free: 1.133 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.3502, allocations: 160.5 kB / 1.027 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.3503, allocations: 33.7 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.516e-05/0.3504, allocations: 116.2 kB / 1.027 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/0.3504, allocations: 55.2 kB / 1.027 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.757e-05/0.3505, allocations: 41.69 kB / 1.027 GB, free: 0.707 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3507, allocations: 322.8 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.351, allocations: 107.9 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.3514, allocations: 123.3 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/0.3521, allocations: 199.2 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3521, allocations: 0 / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008281/0.353, allocations: 271.9 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.353, allocations: 8 kB / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.353, allocations: 3.938 kB / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.353, allocations: 4.031 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.3534, allocations: 55.84 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3534, allocations: 7.984 kB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.3537, allocations: 23.83 kB / 1.028 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.3538, allocations: 12 kB / 1.028 GB, free: 15.57 MB / 0.8106 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.000131/0.3539, allocations: 129.8 kB / 1.028 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.354, allocations: 15.81 kB / 1.028 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008609/0.3548, allocations: 271.7 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3549, allocations: 7.938 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3549, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3549, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.3569, allocations: 1.066 MB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3569, allocations: 3.938 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.3572, allocations: 47.95 kB / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3572, allocations: 0 / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.3573, allocations: 4 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.3573, allocations: 3.938 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3573, allocations: 4.062 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008172/0.3581, allocations: 341 kB / 1.03 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/0.3582, allocations: 96.84 kB / 1.03 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.3582, allocations: 8 kB / 1.03 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.3586, allocations: 23.97 kB / 1.03 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.3586, allocations: 11.98 kB / 1.03 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.3586, allocations: 4 kB / 1.03 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001096/0.3588, allocations: 121.7 kB / 1.03 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.363e-06/0.3588, allocations: 0 / 1.03 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005039/0.3593, allocations: 139.8 kB / 1.031 GB, free: 13.09 MB / 0.8106 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.0005466/0.3598, allocations: 234.9 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008785/0.3607, allocations: 231.8 kB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3607, allocations: 4 kB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003729/0.3611, allocations: 116 kB / 1.031 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.3616, allocations: 55.83 kB / 1.031 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.3634, allocations: 460.5 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.3637, allocations: 0.7164 MB / 1.032 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.3638, allocations: 27.42 kB / 1.032 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of SimCode: time 8.61e-07/0.3638, allocations: 0 / 1.032 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of Templates: time 0.007947/0.3718, allocations: 4.15 MB / 1.036 GB, free: 7.074 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches