Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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,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") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001209/0.00121, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.859/2.859, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 70.56 kB / 0.8986 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.253, allocations: 157.4 MB / 1.052 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003528/0.2566, allocations: 2.091 MB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002305/0.2589, allocations: 1.663 MB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.501e-05/0.259, allocations: 8 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.679e-05/0.2591, allocations: 15.84 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.2592, allocations: 43.67 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009723/0.2602, allocations: 323.2 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.2604, allocations: 219.1 kB / 1.057 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.2606, allocations: 53.45 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.2607, allocations: 87.77 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.2608, allocations: 91.66 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.2609, allocations: 20 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007359/0.2616, allocations: 419.5 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.2617, allocations: 43.91 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.299e-05/0.2618, allocations: 87.66 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.2624, allocations: 443.1 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2624, allocations: 0 / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2624, allocations: 0 / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2624, allocations: 0 / 1.058 GB, free: 3.16 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.0008493/0.2632, allocations: 0.5188 MB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2633, allocations: 8.625 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.2644, allocations: 136.6 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.2646, allocations: 188 kB / 1.059 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.429e-05/0.2647, allocations: 54.25 kB / 1.059 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.2647, allocations: 16.31 kB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.2653, allocations: 217.8 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2653, allocations: 3.938 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.2654, allocations: 8 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2654, allocations: 4 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007344/0.2661, allocations: 235.8 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.2675, allocations: 0.9662 MB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/0.268, allocations: 186.5 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/0.2684, allocations: 112.8 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006719/0.2691, allocations: 0.522 MB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2691, allocations: 30.56 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.2691, allocations: 0 / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001137/0.2702, allocations: 333.6 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.2703, allocations: 55.39 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2704, allocations: 165.3 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.2705, allocations: 29.7 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.627e-05/0.2706, allocations: 120.1 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.2706, allocations: 51.2 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/0.2707, allocations: 41.7 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2708, allocations: 326.8 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.2712, allocations: 107.9 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.2715, allocations: 125.6 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/0.2722, allocations: 195.5 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2722, allocations: 0 / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008143/0.273, allocations: 267.2 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2731, allocations: 8 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2731, allocations: 4.031 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2731, allocations: 3.938 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.2735, allocations: 59.83 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2735, allocations: 0 / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.2738, allocations: 35.81 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.2738, allocations: 8 kB / 1.063 GB, free: 13.66 MB / 0.8262 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.0001343/0.274, allocations: 123.4 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.274, allocations: 15.81 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008265/0.2748, allocations: 268.6 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2749, allocations: 7.938 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2749, allocations: 0 / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2749, allocations: 7.922 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.2767, allocations: 1.07 MB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2767, allocations: 3.938 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.277, allocations: 43.91 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.277, allocations: 0 / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.2771, allocations: 8 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2771, allocations: 4.062 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2771, allocations: 3.984 kB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007777/0.2779, allocations: 341 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.278, allocations: 96.86 kB / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.278, allocations: 15.92 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.2783, allocations: 23.97 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.2784, allocations: 11.98 kB / 1.065 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.2784, allocations: 7.984 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.068e-05/0.2785, allocations: 119.2 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2785, allocations: 0 / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004562/0.279, allocations: 131.9 kB / 1.065 GB, free: 11.17 MB / 0.8262 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.0004445/0.2794, allocations: 235 kB / 1.065 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000783/0.2802, allocations: 237.7 kB / 1.065 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2802, allocations: 0 / 1.065 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.2806, allocations: 108.1 kB / 1.065 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.281, allocations: 51.89 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.2831, allocations: 0.5159 MB / 1.066 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.2834, allocations: 0.7086 MB / 1.067 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000211/0.2836, allocations: 33.48 kB / 1.067 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.555e-05/0.2837, allocations: 23.42 kB / 1.067 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2837, allocations: 0 / 1.067 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of Templates: time 0.007919/0.2917, allocations: 4.527 MB / 1.071 GB, free: 4.719 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches