Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_ZeroInput,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_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_latest_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.0009507/0.0009507, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00592/0.00592, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.067/3.067, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 14.47 kB / 0.9158 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3164, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.00221/0.3187, allocations: 1.75 MB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.3211, allocations: 1.722 MB / 1.078 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.3212, allocations: 4 kB / 1.078 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.3213, allocations: 11.91 kB / 1.078 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.3214, allocations: 43.62 kB / 1.078 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008672/0.3222, allocations: 306.3 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.3225, allocations: 211.2 kB / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3226, allocations: 45.52 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.752e-05/0.3227, allocations: 71.72 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.3229, allocations: 91.66 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.3229, allocations: 12 kB / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000753/0.3237, allocations: 383.5 kB / 1.079 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.3237, allocations: 35.91 kB / 1.079 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3238, allocations: 109.3 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005528/0.3244, allocations: 427.1 kB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3244, allocations: 0 / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3244, allocations: 4 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3244, allocations: 4 kB / 1.079 GB, free: 2.32 MB / 0.8262 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.0008051/0.3252, allocations: 495.3 kB / 1.08 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3253, allocations: 8.031 kB / 1.08 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.3265, allocations: 144.6 kB / 1.08 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.3267, allocations: 188 kB / 1.08 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.076e-05/0.3268, allocations: 58.19 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.3268, allocations: 12.38 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/0.3274, allocations: 223.7 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3274, allocations: 3.938 kB / 1.08 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.3275, allocations: 4 kB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3275, allocations: 4 kB / 1.08 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007771/0.3283, allocations: 239.8 kB / 1.081 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.3297, allocations: 0.9697 MB / 1.082 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.3302, allocations: 190.5 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/0.3306, allocations: 112.8 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006412/0.3313, allocations: 0.5142 MB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.3313, allocations: 34.56 kB / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.725e-06/0.3313, allocations: 0 / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.001245/0.3326, allocations: 347.8 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.3326, allocations: 51.41 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.3328, allocations: 165.3 kB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.3328, allocations: 29.7 kB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.3329, allocations: 116.2 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.333, allocations: 51.2 kB / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.333, allocations: 25.7 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3331, allocations: 322.8 kB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.3335, allocations: 107.9 kB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/0.3339, allocations: 127.3 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007004/0.3346, allocations: 204.4 kB / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3346, allocations: 0 / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008525/0.3355, allocations: 277.3 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3355, allocations: 4 kB / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3355, allocations: 3.938 kB / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3356, allocations: 4 kB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.3359, allocations: 51.95 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.336, allocations: 3.938 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.3363, allocations: 39.81 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.3363, allocations: 4 kB / 1.084 GB, free: 12.84 MB / 0.8419 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.0001227/0.3364, allocations: 129.8 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.3365, allocations: 15.81 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008834/0.3374, allocations: 270.7 kB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3374, allocations: 4 kB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3374, allocations: 7.875 kB / 1.085 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3374, allocations: 0 / 1.085 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.3393, allocations: 1.081 MB / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3393, allocations: 0 / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.3397, allocations: 47.97 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3397, allocations: 0 / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.3397, allocations: 4 kB / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3397, allocations: 0 / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3397, allocations: 3.938 kB / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008462/0.3406, allocations: 353 kB / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.3407, allocations: 100.8 kB / 1.086 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.3407, allocations: 4 kB / 1.086 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.3411, allocations: 23.97 kB / 1.086 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3411, allocations: 19.92 kB / 1.086 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3411, allocations: 8 kB / 1.086 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.895e-05/0.3412, allocations: 117.3 kB / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3412, allocations: 0 / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000518/0.3418, allocations: 131.9 kB / 1.086 GB, free: 10.33 MB / 0.8419 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.0004976/0.3423, allocations: 238.9 kB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008404/0.3431, allocations: 229.6 kB / 1.087 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3431, allocations: 0 / 1.087 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.3435, allocations: 115.9 kB / 1.087 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.344, allocations: 46.3 kB / 1.087 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.3458, allocations: 0.4896 MB / 1.087 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.3461, allocations: 0.7128 MB / 1.088 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.3463, allocations: 32.67 kB / 1.088 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.3464, allocations: 23.42 kB / 1.088 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.3464, allocations: 0 / 1.088 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of Templates: time 0.00927/0.3557, allocations: 4.384 MB / 1.093 GB, free: 4.055 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches