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.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,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.0009048/0.0009048, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001291, allocations: 186 kB / 16.92 MB, free: 6.703 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.72/2.72, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.000372, allocations: 9.375 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3385, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002215/0.3408, allocations: 1.752 MB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002492/0.3433, allocations: 1.714 MB / 1.063 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.127e-05/0.3434, allocations: 4 kB / 1.063 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.572e-05/0.3435, allocations: 15.84 kB / 1.063 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.3436, allocations: 43.69 kB / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008949/0.3445, allocations: 303.1 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.3447, allocations: 215.1 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.3449, allocations: 53.44 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.743e-05/0.345, allocations: 67.78 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.3452, allocations: 91.66 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.3452, allocations: 8 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007584/0.346, allocations: 383.5 kB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.346, allocations: 43.89 kB / 1.064 GB, free: 272 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.681e-05/0.3461, allocations: 105.4 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.3465, allocations: 319.5 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3465, allocations: 0 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3466, allocations: 0 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.3466, allocations: 0 / 1.064 GB, free: 15.84 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.0008059/0.3474, allocations: 0.4927 MB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3474, allocations: 15.97 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.3486, allocations: 140.6 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3487, allocations: 192 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-05/0.3489, allocations: 46.25 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.3489, allocations: 20.38 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.3495, allocations: 217.9 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3495, allocations: 3.938 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.3495, allocations: 7.984 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3496, allocations: 4 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007323/0.3503, allocations: 235.9 kB / 1.066 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.3518, allocations: 0.97 MB / 1.067 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.3522, allocations: 186.6 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/0.3526, allocations: 112.8 kB / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006579/0.3533, allocations: 0.5142 MB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3533, allocations: 42.56 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 3.025e-06/0.3533, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001161/0.3545, allocations: 335.9 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.3545, allocations: 55.41 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.3547, allocations: 155.8 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.3547, allocations: 33.7 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.3548, allocations: 116.2 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.3549, allocations: 59.17 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.3549, allocations: 21.72 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3551, allocations: 326.8 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.3554, allocations: 111.8 kB / 1.069 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.3558, allocations: 134.1 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.3564, allocations: 199.6 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3564, allocations: 4 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007919/0.3572, allocations: 267.5 kB / 1.069 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3573, allocations: 14.02 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3573, allocations: 0 / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3573, allocations: 0 / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.3577, allocations: 55.97 kB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3577, allocations: 3.938 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.358, allocations: 35.72 kB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.358, allocations: 8 kB / 1.069 GB, free: 10.35 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.0001301/0.3582, allocations: 125.8 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.3582, allocations: 11.91 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008366/0.3591, allocations: 266.7 kB / 1.07 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3591, allocations: 0 / 1.07 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.3591, allocations: 15.86 kB / 1.07 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3591, allocations: 4 kB / 1.07 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.3609, allocations: 1.077 MB / 1.071 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3609, allocations: 4.031 kB / 1.071 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.3613, allocations: 39.91 kB / 1.071 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.3613, allocations: 4 kB / 1.071 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.3613, allocations: 7.984 kB / 1.071 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3613, allocations: 4 kB / 1.071 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3613, allocations: 3.938 kB / 1.071 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007875/0.3621, allocations: 355.7 kB / 1.071 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.3622, allocations: 96.94 kB / 1.071 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.3622, allocations: 0 / 1.071 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.3626, allocations: 31.97 kB / 1.071 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.3626, allocations: 11.98 kB / 1.071 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.3626, allocations: 8 kB / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.374e-05/0.3627, allocations: 122.1 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3627, allocations: 0 / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004852/0.3632, allocations: 135.8 kB / 1.071 GB, free: 7.848 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.3637, allocations: 234.8 kB / 1.072 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007691/0.3645, allocations: 235.8 kB / 1.072 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3645, allocations: 0 / 1.072 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.3648, allocations: 112.1 kB / 1.072 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.3653, allocations: 63.75 kB / 1.072 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.3675, allocations: 0.5694 MB / 1.073 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3678, allocations: 0.7089 MB / 1.073 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.3679, allocations: 27.42 kB / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.3679, allocations: 0 / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of Templates: time 0.006701/0.3746, allocations: 4.124 MB / 1.077 GB, free: 1.727 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/jenkins1/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