Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001539/0.001539, allocations: 108 kB / 15.6 MB, free: 132 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.001815/0.001815, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.2 MB / 0.6646 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.89 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5742/0.5754, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003324/0.5788, allocations: 2.034 MB / 0.9516 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.581, allocations: 1.67 MB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.581, allocations: 2.875 kB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.598e-05/0.5811, allocations: 17.27 kB / 0.9532 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.5812, allocations: 49.42 kB / 0.9533 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008747/0.5821, allocations: 361.9 kB / 0.9536 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.5823, allocations: 230.5 kB / 0.9538 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.5825, allocations: 60.75 kB / 0.9539 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.327e-05/0.5826, allocations: 78.53 kB / 0.954 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.5827, allocations: 89.8 kB / 0.954 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.5828, allocations: 23.42 kB / 0.9541 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006931/0.5835, allocations: 401.9 kB / 0.9544 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.5835, allocations: 45.61 kB / 0.9545 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.909e-05/0.5836, allocations: 93.89 kB / 0.9546 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.5841, allocations: 435 kB / 0.955 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5842, allocations: 1.406 kB / 0.955 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5842, allocations: 0 / 0.955 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.5842, allocations: 0 / 0.955 GB, free: 5.082 MB / 0.7169 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.0008446/0.585, allocations: 0.5292 MB / 0.9555 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5851, allocations: 11 kB / 0.9555 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.5862, allocations: 137.4 kB / 0.9557 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.5863, allocations: 184.2 kB / 0.9558 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.171e-05/0.5864, allocations: 50.84 kB / 0.9559 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.5864, allocations: 15 kB / 0.9559 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.587, allocations: 219.6 kB / 0.9561 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.587, allocations: 3.938 kB / 0.9561 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.587, allocations: 9.781 kB / 0.9561 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.587, allocations: 3.594 kB / 0.9561 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007126/0.5877, allocations: 235.1 kB / 0.9563 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.589, allocations: 0.9601 MB / 0.9573 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.5895, allocations: 182.4 kB / 0.9575 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.5898, allocations: 115.7 kB / 0.9576 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/0.5903, allocations: 0.5199 MB / 0.9581 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.5904, allocations: 39.84 kB / 0.9581 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.5904, allocations: 0 / 0.9581 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001142/0.5915, allocations: 329.4 kB / 0.9584 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.5916, allocations: 57.56 kB / 0.9585 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.5917, allocations: 159.8 kB / 0.9586 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.5917, allocations: 31.8 kB / 0.9587 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.5918, allocations: 113.4 kB / 0.9588 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.5918, allocations: 54.67 kB / 0.9588 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.5919, allocations: 39.14 kB / 0.9589 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.592, allocations: 327 kB / 0.9592 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.5923, allocations: 106.7 kB / 0.9593 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.5927, allocations: 128.2 kB / 0.9594 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.5933, allocations: 194.5 kB / 0.9596 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5933, allocations: 4 kB / 0.9596 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007935/0.5941, allocations: 281.1 kB / 0.9599 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5942, allocations: 4.375 kB / 0.9599 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5942, allocations: 1.094 kB / 0.9599 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.5942, allocations: 1.062 kB / 0.9599 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.5946, allocations: 47.94 kB / 0.9599 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.5946, allocations: 6 kB / 0.9599 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.5949, allocations: 38.31 kB / 0.9599 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.5949, allocations: 4.406 kB / 0.96 GB, free: 0.918 MB / 0.7169 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 8.994e-05/0.595, allocations: 119.9 kB / 0.9601 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.595, allocations: 15.55 kB / 0.9601 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008119/0.5959, allocations: 277.4 kB / 0.9603 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.5959, allocations: 9.609 kB / 0.9604 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5959, allocations: 0 / 0.9604 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5959, allocations: 0.8438 kB / 0.9604 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.5976, allocations: 1.069 MB / 0.9614 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.5977, allocations: 5.031 kB / 0.9614 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.598, allocations: 50.09 kB / 0.9615 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.598, allocations: 1.344 kB / 0.9615 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.598, allocations: 6.016 kB / 0.9615 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.598, allocations: 1.281 kB / 0.9615 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.598, allocations: 1.312 kB / 0.9615 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/0.5989, allocations: 344.8 kB / 0.9618 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.5989, allocations: 104.7 kB / 0.9619 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.599, allocations: 1.688 kB / 0.9619 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.5993, allocations: 25.34 kB / 0.9619 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.5994, allocations: 14.2 kB / 0.9619 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.5994, allocations: 4.188 kB / 0.9619 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001024/0.5995, allocations: 130.1 kB / 0.9621 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5995, allocations: 1.156 kB / 0.9621 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005306/0.6, allocations: 129 kB / 0.9622 GB, free: 15.03 MB / 0.7325 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.0004313/0.6005, allocations: 222.3 kB / 0.9624 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008338/0.6013, allocations: 238.7 kB / 0.9626 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6013, allocations: 1.125 kB / 0.9626 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.6017, allocations: 114.2 kB / 0.9627 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.6022, allocations: 48.12 kB / 0.9628 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.6043, allocations: 481.1 kB / 0.9632 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.6046, allocations: 0.7144 MB / 0.9639 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.6048, allocations: 39.39 kB / 0.964 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.6049, allocations: 23.34 kB / 0.964 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.6049, allocations: 0 / 0.964 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.008939/0.6139, allocations: 4.529 MB / 0.9684 GB, free: 11.36 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches