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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001792/0.001792, allocations: 111.5 kB / 16.37 MB, free: 6.004 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.002041/0.002041, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.572/2.572, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.86 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2843, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.00319/0.2875, allocations: 2.042 MB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.2896, allocations: 1.671 MB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.2897, allocations: 4 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.832e-05/0.2898, allocations: 19.78 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.65e-05/0.2899, allocations: 51.55 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008725/0.2908, allocations: 358.8 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.291, allocations: 235 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.2912, allocations: 41.55 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.473e-05/0.2913, allocations: 75.84 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.2914, allocations: 95.66 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.2915, allocations: 20 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007011/0.2922, allocations: 419.5 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.2922, allocations: 47.84 kB / 1.032 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.351e-05/0.2923, allocations: 87.64 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005271/0.2929, allocations: 438.9 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2929, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2929, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2929, allocations: 3.938 kB / 1.032 GB, free: 12.42 MB / 0.8106 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.000803/0.2937, allocations: 0.5264 MB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.2938, allocations: 8.031 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.2949, allocations: 136.7 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.295, allocations: 188.1 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.2952, allocations: 50.25 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.2952, allocations: 16.38 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.2958, allocations: 217.8 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2958, allocations: 3.938 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.2959, allocations: 4 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.2959, allocations: 4 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007199/0.2966, allocations: 239.8 kB / 1.034 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.2981, allocations: 0.9584 MB / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.2986, allocations: 182.5 kB / 1.035 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.2989, allocations: 112.7 kB / 1.035 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007094/0.2996, allocations: 0.5259 MB / 1.035 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.2997, allocations: 30.56 kB / 1.035 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.2997, allocations: 0 / 1.035 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001148/0.3008, allocations: 337.6 kB / 1.036 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.3009, allocations: 51.41 kB / 1.036 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.301, allocations: 160.9 kB / 1.036 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.3011, allocations: 33.7 kB / 1.036 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.3012, allocations: 116.2 kB / 1.036 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.323e-05/0.3012, allocations: 55.2 kB / 1.036 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.3013, allocations: 37.7 kB / 1.036 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3015, allocations: 326.8 kB / 1.036 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.3018, allocations: 107.9 kB / 1.036 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.3021, allocations: 117.6 kB / 1.037 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.3028, allocations: 199.7 kB / 1.037 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3028, allocations: 0 / 1.037 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007933/0.3036, allocations: 269.3 kB / 1.037 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3036, allocations: 8 kB / 1.037 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3036, allocations: 3.984 kB / 1.037 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3036, allocations: 4.031 kB / 1.037 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.304, allocations: 51.84 kB / 1.037 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.304, allocations: 7.984 kB / 1.037 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.3043, allocations: 31.81 kB / 1.037 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.3044, allocations: 8 kB / 1.037 GB, free: 6.926 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.0001277/0.3045, allocations: 133.7 kB / 1.037 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.3046, allocations: 15.81 kB / 1.037 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008154/0.3054, allocations: 269.7 kB / 1.038 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3054, allocations: 7.938 kB / 1.038 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3054, allocations: 0 / 1.038 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3054, allocations: 3.984 kB / 1.038 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.3072, allocations: 1.066 MB / 1.039 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3072, allocations: 3.938 kB / 1.039 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.3076, allocations: 43.91 kB / 1.039 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3076, allocations: 3.938 kB / 1.039 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.3076, allocations: 15.97 kB / 1.039 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3076, allocations: 0 / 1.039 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3076, allocations: 8.062 kB / 1.039 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007833/0.3084, allocations: 341 kB / 1.039 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.3085, allocations: 92.86 kB / 1.039 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.3085, allocations: 11.98 kB / 1.039 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.3089, allocations: 19.98 kB / 1.039 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.3089, allocations: 19.91 kB / 1.039 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.3089, allocations: 4 kB / 1.039 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.269e-05/0.309, allocations: 122.5 kB / 1.039 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.309, allocations: 0 / 1.039 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004689/0.3095, allocations: 131.9 kB / 1.039 GB, free: 4.422 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.0004293/0.31, allocations: 227 kB / 1.04 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007813/0.3108, allocations: 235.6 kB / 1.04 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3108, allocations: 0 / 1.04 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.3111, allocations: 112.1 kB / 1.04 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.3116, allocations: 46.97 kB / 1.04 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.3134, allocations: 432.3 kB / 1.04 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.3138, allocations: 0.7125 MB / 1.041 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001878/0.314, allocations: 33.3 kB / 1.041 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.118e-05/0.3141, allocations: 31.3 kB / 1.041 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.3141, allocations: 0 / 1.041 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of Templates: time 0.008924/0.323, allocations: 4.533 MB / 1.046 GB, free: 14.09 MB / 0.8262 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 -s cvode -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/jenkins1/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