Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001683/0.001683, allocations: 104.3 kB / 19.7 MB, free: 2 MB / 14.72 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.001848/0.001848, allocations: 212.6 kB / 22.99 MB, free: 4.426 MB / 14.72 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 1.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.251/3.251, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.91 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4099, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.004017/0.4139, allocations: 1.993 MB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003051/0.417, allocations: 1.528 MB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.92e-05/0.417, allocations: 4 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.156e-05/0.4171, allocations: 23.78 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.4173, allocations: 51.56 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.4184, allocations: 366.7 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.4187, allocations: 235.1 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.4189, allocations: 39.48 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.419, allocations: 87.77 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.4192, allocations: 91.73 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.4192, allocations: 16 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009423/0.4202, allocations: 435.4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.4202, allocations: 39.91 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.4203, allocations: 83.7 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007401/0.4211, allocations: 438.6 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4211, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4211, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4211, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 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.001097/0.4222, allocations: 473.1 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.4222, allocations: 8.031 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.4234, allocations: 140.7 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.4236, allocations: 122.4 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.4237, allocations: 79.94 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.4238, allocations: 16.38 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007616/0.4245, allocations: 281.6 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.4246, allocations: 3.938 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.4246, allocations: 8 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.4246, allocations: 4 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/0.4251, allocations: 167.9 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.4268, allocations: 0.6818 MB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007275/0.4275, allocations: 186.6 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.4279, allocations: 120.7 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004863/0.4284, allocations: 67.86 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.4284, allocations: 38.56 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 2.064e-06/0.4284, allocations: 0 / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.01297/0.4414, allocations: 1.397 MB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.4415, allocations: 55.41 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.4416, allocations: 122 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.4417, allocations: 37.7 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/0.4418, allocations: 124.3 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/0.4418, allocations: 63.47 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.4419, allocations: 41.7 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4421, allocations: 322.8 kB / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.4425, allocations: 107.9 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.4429, allocations: 113.1 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007025/0.4436, allocations: 210.8 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4436, allocations: 4 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.007885/0.4514, allocations: 0.8909 MB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.4515, allocations: 9.719 kB / 1.338 GB, free: 5.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4515, allocations: 3.938 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/0.4532, allocations: 348.5 kB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/0.4536, allocations: 55.92 kB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.4555, allocations: 0.8294 MB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.4559, allocations: 39.8 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.4559, allocations: 4 kB / 1.339 GB, free: 4.164 MB / 1.029 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 0.0001789/0.4561, allocations: 132.4 kB / 1.339 GB, free: 4.027 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.4561, allocations: 7.953 kB / 1.339 GB, free: 4.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.4578, allocations: 442.9 kB / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4578, allocations: 0 / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4578, allocations: 4 kB / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4578, allocations: 7.984 kB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.4603, allocations: 0.7865 MB / 1.341 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4603, allocations: 0 / 1.341 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.4606, allocations: 48.05 kB / 1.341 GB, free: 2.684 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001575/0.4622, allocations: 356.4 kB / 1.341 GB, free: 2.332 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.4622, allocations: 8 kB / 1.341 GB, free: 2.324 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.4641, allocations: 0.8309 MB / 1.342 GB, free: 1.469 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4641, allocations: 0 / 1.342 GB, free: 1.469 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.4654, allocations: 469.7 kB / 1.342 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.4654, allocations: 19.81 kB / 1.342 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.4654, allocations: 4 kB / 1.342 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.4658, allocations: 31.97 kB / 1.342 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.4658, allocations: 11.98 kB / 1.342 GB, free: 0.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.4659, allocations: 4 kB / 1.342 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.917e-05/0.466, allocations: 106.8 kB / 1.342 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.466, allocations: 0 / 1.342 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005661/0.4665, allocations: 143.5 kB / 1.343 GB, free: 0.6719 MB / 1.029 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.0005044/0.467, allocations: 230.7 kB / 1.343 GB, free: 448 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002409/0.4694, allocations: 363.6 kB / 1.343 GB, free: 84 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4694, allocations: 0 / 1.343 GB, free: 84 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001888/0.4713, allocations: 237.9 kB / 1.343 GB, free: 15.85 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.4718, allocations: 37.02 kB / 1.343 GB, free: 15.82 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.4843, allocations: 1.42 MB / 1.345 GB, free: 14.37 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.4845, allocations: 90.78 kB / 1.345 GB, free: 14.25 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.4846, allocations: 25.47 kB / 1.345 GB, free: 14.23 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.4846, allocations: 11.44 kB / 1.345 GB, free: 14.22 MB / 1.045 GB Notification: Performance of SimCode: time 1.212e-06/0.4846, allocations: 0 / 1.345 GB, free: 14.22 MB / 1.045 GB Notification: Performance of Templates: time 0.01155/0.4962, allocations: 5.765 MB / 1.351 GB, free: 8.52 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.020947646000423]