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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009798/0.0009798, allocations: 72.89 kB / 19.94 MB, free: 4.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 173 kB / 23.36 MB, free: 0.9727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9961/0.9961, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.372/2.372, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.366e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00396/0.003984, allocations: 2.144 MB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002303/0.006286, allocations: 1.468 MB / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.006362, allocations: 3.938 kB / 0.8422 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.878e-05/0.006431, allocations: 23.78 kB / 0.8422 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.00656, allocations: 51.48 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009633/0.007524, allocations: 322.7 kB / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.007785, allocations: 243 kB / 0.8428 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.00791, allocations: 30.44 kB / 0.8428 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.008087, allocations: 127.8 kB / 0.8429 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.00823, allocations: 71.83 kB / 0.843 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.008264, allocations: 23.94 kB / 0.843 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007885/0.009053, allocations: 379.4 kB / 0.8434 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.009101, allocations: 47.83 kB / 0.8434 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.331e-05/0.009174, allocations: 71.88 kB / 0.8435 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005875/0.009762, allocations: 398.8 kB / 0.8439 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.009764, allocations: 0 / 0.8439 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.062e-06/0.009765, allocations: 0 / 0.8439 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.00977, allocations: 0 / 0.8439 GB, free: 8.805 MB / 0.8073 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.0006859/0.01046, allocations: 427.9 kB / 0.8443 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.0105, allocations: 12.62 kB / 0.8443 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.01191, allocations: 200.7 kB / 0.8445 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.01203, allocations: 129.5 kB / 0.8446 GB, free: 8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.487e-05/0.01211, allocations: 75.95 kB / 0.8447 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/0.01216, allocations: 16.38 kB / 0.8447 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/0.01282, allocations: 309.8 kB / 0.845 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.01283, allocations: 192 / 0.845 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.01286, allocations: 4.375 kB / 0.845 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.01287, allocations: 8.125 kB / 0.845 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.01311, allocations: 99.95 kB / 0.8451 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.01431, allocations: 0.4915 MB / 0.8456 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.01496, allocations: 190.5 kB / 0.8457 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.01511, allocations: 76.84 kB / 0.8458 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.053e-05/0.01519, allocations: 19.98 kB / 0.8458 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.01522, allocations: 34.88 kB / 0.8459 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.823e-06/0.01522, allocations: 0 / 0.8459 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.004843/0.02006, allocations: 0.9527 MB / 0.8468 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.02009, allocations: 51.41 kB / 0.8469 GB, free: 5.598 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.02015, allocations: 130.6 kB / 0.847 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.02018, allocations: 29.7 kB / 0.847 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.02023, allocations: 120.3 kB / 0.8471 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.02027, allocations: 63.47 kB / 0.8472 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/0.02035, allocations: 45.67 kB / 0.8472 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.02041, allocations: 326.8 kB / 0.8475 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.0205, allocations: 51.98 kB / 0.8476 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.439e-05/0.0206, allocations: 65.05 kB / 0.8476 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.02077, allocations: 114.8 kB / 0.8478 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.02077, allocations: 0 / 0.8478 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002264/0.02303, allocations: 0.5836 MB / 0.8483 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.02305, allocations: 4 kB / 0.8483 GB, free: 4.035 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.02305, allocations: 3.938 kB / 0.8483 GB, free: 4.031 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005365/0.02359, allocations: 243.7 kB / 0.8486 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.02388, allocations: 83.88 kB / 0.8486 GB, free: 3.711 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004578/0.02434, allocations: 0.6459 MB / 0.8493 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.02452, allocations: 35.86 kB / 0.8493 GB, free: 3.004 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.02453, allocations: 8.062 kB / 0.8493 GB, free: 2.996 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of prepare postOptimizeDAE: time 8.571e-05/0.02462, allocations: 125.8 kB / 0.8494 GB, free: 2.863 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.02466, allocations: 15.98 kB / 0.8495 GB, free: 2.848 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/0.02525, allocations: 310.8 kB / 0.8498 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.02525, allocations: 8 kB / 0.8498 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.02525, allocations: 0 / 0.8498 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.02526, allocations: 0 / 0.8498 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.02628, allocations: 0.536 MB / 0.8503 GB, free: 1.961 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.02628, allocations: 0 / 0.8503 GB, free: 1.961 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.02655, allocations: 75.95 kB / 0.8504 GB, free: 1.887 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005125/0.02706, allocations: 252.5 kB / 0.8506 GB, free: 1.637 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.02708, allocations: 3.984 kB / 0.8506 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004285/0.02751, allocations: 0.644 MB / 0.8512 GB, free: 0.9648 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.02751, allocations: 4 kB / 0.8512 GB, free: 0.9609 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.02783, allocations: 285.9 kB / 0.8515 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.02785, allocations: 11.91 kB / 0.8515 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.02788, allocations: 11.98 kB / 0.8515 GB, free: 0.6328 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.02807, allocations: 23.98 kB / 0.8516 GB, free: 0.6094 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.02811, allocations: 23.91 kB / 0.8516 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.02813, allocations: 7.984 kB / 0.8516 GB, free: 0.5781 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.958e-05/0.02814, allocations: 24.77 kB / 0.8516 GB, free: 0.5508 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.02814, allocations: 0 / 0.8516 GB, free: 0.5508 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002853/0.02843, allocations: 135.6 kB / 0.8517 GB, free: 428 kB / 0.8073 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003106/0.02874, allocations: 207.9 kB / 0.8519 GB, free: 208 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007157/0.02946, allocations: 254.2 kB / 0.8522 GB, free: 15.95 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.02946, allocations: 0 / 0.8522 GB, free: 15.95 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005215/0.02998, allocations: 156.7 kB / 0.8523 GB, free: 15.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.03018, allocations: 51.91 kB / 0.8524 GB, free: 15.75 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.03377, allocations: 1.017 MB / 0.8534 GB, free: 14.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.528e-05/0.03381, allocations: 67.84 kB / 0.8534 GB, free: 14.61 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001436/0.03395, allocations: 45.53 kB / 0.8535 GB, free: 14.57 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.03416, allocations: 91.31 kB / 0.8536 GB, free: 14.48 MB / 0.823 GB Notification: Performance of SimCode: time 5.82e-07/0.03416, allocations: 0 / 0.8536 GB, free: 14.48 MB / 0.823 GB Notification: Performance of Templates: time 0.008573/0.04273, allocations: 7.844 MB / 0.8612 GB, free: 6.68 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.279844322707504]