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.001142/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001145/0.001145, allocations: 194 kB / 16.14 MB, free: 6.711 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.857/2.857, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 65.02 kB / 0.9114 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3091, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003493/0.3127, allocations: 2.1 MB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002385/0.3151, allocations: 1.741 MB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.3152, allocations: 4 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.126e-05/0.3153, allocations: 15.84 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.626e-05/0.3154, allocations: 43.61 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000793/0.3162, allocations: 307.1 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.3164, allocations: 211.2 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.3165, allocations: 41.53 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.468e-05/0.3166, allocations: 79.72 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.3167, allocations: 91.66 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.3168, allocations: 12 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007015/0.3175, allocations: 387.5 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.3175, allocations: 39.89 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.286e-05/0.3176, allocations: 87.58 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.3182, allocations: 431.2 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3182, allocations: 4 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3182, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.3182, allocations: 0 / 1.073 GB, free: 5.297 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.0008555/0.3191, allocations: 0.5186 MB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3191, allocations: 12.03 kB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.3203, allocations: 136.6 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.3204, allocations: 180.2 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/0.3205, allocations: 54.19 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.3205, allocations: 24.38 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.3211, allocations: 211.7 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3211, allocations: 3.938 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.3212, allocations: 8 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.3212, allocations: 8 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007394/0.3219, allocations: 231.8 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.3234, allocations: 0.9776 MB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/0.3238, allocations: 182.6 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.3242, allocations: 112.8 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006745/0.3249, allocations: 0.522 MB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3249, allocations: 30.56 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.3249, allocations: 0 / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001197/0.3262, allocations: 334.9 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3262, allocations: 51.41 kB / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3263, allocations: 160.7 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.3264, allocations: 29.7 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.3265, allocations: 120.1 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.3265, allocations: 63.2 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/0.3266, allocations: 49.55 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3267, allocations: 322.8 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.3271, allocations: 103.9 kB / 1.077 GB, free: 500 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.3275, allocations: 117.7 kB / 1.077 GB, free: 376 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/0.3281, allocations: 199.1 kB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3281, allocations: 0 / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008191/0.329, allocations: 273.4 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.329, allocations: 4 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.329, allocations: 0 / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.329, allocations: 4 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.3294, allocations: 55.89 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3294, allocations: 0 / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.3297, allocations: 35.73 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.3298, allocations: 7.984 kB / 1.078 GB, free: 15.79 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.0001243/0.3299, allocations: 135.5 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.33, allocations: 11.91 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008359/0.3308, allocations: 264.1 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3308, allocations: 7.938 kB / 1.078 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3308, allocations: 0 / 1.078 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3308, allocations: 4 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.3326, allocations: 1.066 MB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3326, allocations: 8 kB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.333, allocations: 39.95 kB / 1.079 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.333, allocations: 4 kB / 1.079 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.333, allocations: 8 kB / 1.079 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.333, allocations: 4 kB / 1.079 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.333, allocations: 0 / 1.079 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/0.3338, allocations: 356.8 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.3339, allocations: 88.95 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.3339, allocations: 4 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.3343, allocations: 23.97 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.3343, allocations: 15.98 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.3343, allocations: 7.938 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.208e-05/0.3344, allocations: 121.9 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3344, allocations: 0 / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004671/0.3349, allocations: 127.9 kB / 1.08 GB, free: 13.31 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.0004412/0.3354, allocations: 231 kB / 1.08 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007843/0.3361, allocations: 232.4 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3362, allocations: 4.062 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.3365, allocations: 107.9 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.337, allocations: 56.89 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.3385, allocations: 480 kB / 1.081 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.3388, allocations: 0.7128 MB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002041/0.339, allocations: 29.05 kB / 1.082 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.59e-05/0.3391, allocations: 19.44 kB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of SimCode: time 4e-07/0.3391, allocations: 0 / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of Templates: time 0.008403/0.3475, allocations: 4.409 MB / 1.086 GB, free: 7.047 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