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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00155/0.00155, allocations: 100.1 kB / 15.88 MB, free: 12 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.001762/0.001762, allocations: 196 kB / 16.79 MB, free: 6.809 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.416/1.416, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.2 MB / 0.6649 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.89 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6808/0.6824, allocations: 140.3 MB / 0.9496 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003117/0.6855, allocations: 2.099 MB / 0.9516 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002334/0.6879, allocations: 1.74 MB / 0.9533 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.111e-05/0.688, allocations: 6.375 kB / 0.9533 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.994e-05/0.6882, allocations: 17.11 kB / 0.9533 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.6883, allocations: 45.52 kB / 0.9534 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000912/0.6892, allocations: 291.3 kB / 0.9537 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.6895, allocations: 224.5 kB / 0.9539 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.6896, allocations: 52.75 kB / 0.9539 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.6897, allocations: 69.22 kB / 0.954 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.6899, allocations: 90.72 kB / 0.9541 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.6899, allocations: 11.22 kB / 0.9541 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008369/0.6908, allocations: 387.3 kB / 0.9545 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.6908, allocations: 41.64 kB / 0.9545 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.474e-05/0.6909, allocations: 84.14 kB / 0.9546 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.6914, allocations: 326.1 kB / 0.9549 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6914, allocations: 4 kB / 0.9549 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.52e-07/0.6914, allocations: 3.938 kB / 0.9549 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.6914, allocations: 0 / 0.9549 GB, free: 5.277 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.000851/0.6923, allocations: 0.5175 MB / 0.9554 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.6923, allocations: 13.98 kB / 0.9554 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.6935, allocations: 132.4 kB / 0.9555 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.6936, allocations: 185.5 kB / 0.9557 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.249e-05/0.6937, allocations: 55.72 kB / 0.9558 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.6938, allocations: 14.22 kB / 0.9558 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.6943, allocations: 213 kB / 0.956 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.6944, allocations: 3.938 kB / 0.956 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.6944, allocations: 8 kB / 0.956 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6944, allocations: 7.484 kB / 0.956 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007161/0.6951, allocations: 235.7 kB / 0.9562 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.6965, allocations: 0.9668 MB / 0.9572 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.697, allocations: 182.6 kB / 0.9574 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.6973, allocations: 111 kB / 0.9575 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005574/0.6979, allocations: 0.5289 MB / 0.958 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.6979, allocations: 35.91 kB / 0.958 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 3.026e-06/0.6979, allocations: 0 / 0.958 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001181/0.6991, allocations: 322.8 kB / 0.9583 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.6992, allocations: 53.25 kB / 0.9584 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.6993, allocations: 162.9 kB / 0.9585 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.6993, allocations: 31.05 kB / 0.9586 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.6994, allocations: 115 kB / 0.9587 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.6995, allocations: 69.98 kB / 0.9587 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.3e-05/0.6995, allocations: 39.45 kB / 0.9588 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.6996, allocations: 321.6 kB / 0.9591 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.7, allocations: 108.1 kB / 0.9592 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/0.7003, allocations: 124.7 kB / 0.9593 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/0.701, allocations: 200.7 kB / 0.9595 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.701, allocations: 0 / 0.9595 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007913/0.7018, allocations: 269.2 kB / 0.9597 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.7018, allocations: 6.25 kB / 0.9598 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.7018, allocations: 0.75 kB / 0.9598 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.7018, allocations: 1.438 kB / 0.9598 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.7022, allocations: 60.05 kB / 0.9598 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.7022, allocations: 9.062 kB / 0.9598 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.7026, allocations: 26.36 kB / 0.9598 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.7026, allocations: 12.52 kB / 0.9599 GB, free: 1.109 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 0.0001104/0.7027, allocations: 125.5 kB / 0.96 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.7028, allocations: 11.28 kB / 0.96 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008471/0.7036, allocations: 270.1 kB / 0.9602 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.7036, allocations: 5.219 kB / 0.9603 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.7037, allocations: 4.875 kB / 0.9603 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.7037, allocations: 0 / 0.9603 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.7054, allocations: 1.069 MB / 0.9613 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.7054, allocations: 5.219 kB / 0.9613 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.7058, allocations: 41.31 kB / 0.9613 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.7058, allocations: 6.094 kB / 0.9614 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.7058, allocations: 2.188 kB / 0.9614 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.7058, allocations: 1.094 kB / 0.9614 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7058, allocations: 1.125 kB / 0.9614 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.7067, allocations: 349 kB / 0.9617 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.7068, allocations: 97.52 kB / 0.9618 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.7068, allocations: 6.219 kB / 0.9618 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.7071, allocations: 28.56 kB / 0.9618 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.7072, allocations: 9.828 kB / 0.9618 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.7072, allocations: 8.469 kB / 0.9618 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.995e-05/0.7073, allocations: 124 kB / 0.9619 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7073, allocations: 0 / 0.9619 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000574/0.7079, allocations: 133.9 kB / 0.9621 GB, free: 15.23 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.0004944/0.7084, allocations: 222.3 kB / 0.9623 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007947/0.7092, allocations: 232.9 kB / 0.9625 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.788e-06/0.7092, allocations: 0 / 0.9625 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.7096, allocations: 114.8 kB / 0.9626 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.71, allocations: 52.88 kB / 0.9627 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.7123, allocations: 0.5385 MB / 0.9632 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.7126, allocations: 0.7158 MB / 0.9639 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.7127, allocations: 24.58 kB / 0.9639 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/0.7127, allocations: 0 / 0.9639 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.008016/0.7207, allocations: 4.135 MB / 0.968 GB, free: 11.67 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/jenkins1/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