Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001787/0.001787, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001985/0.001985, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.467/1.467, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.812/2.812, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="cs",version="2.0",platforms={"static"}) [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.002179/0.002179, allocations: 73.77 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8604/0.8626, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003788/0.8664, allocations: 2.066 MB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003073/0.8695, allocations: 1.7 MB / 1.283 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.8696, allocations: 2.094 kB / 1.283 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.529e-05/0.8697, allocations: 20.03 kB / 1.283 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.8698, allocations: 49.7 kB / 1.283 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.8711, allocations: 365.1 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.8714, allocations: 228 kB / 1.283 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.8715, allocations: 36.94 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.8716, allocations: 84.94 kB / 1.283 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.8718, allocations: 99.06 kB / 1.283 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.8718, allocations: 22.92 kB / 1.283 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009743/0.8728, allocations: 423.5 kB / 1.284 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.8728, allocations: 41.72 kB / 1.284 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.873, allocations: 92.36 kB / 1.284 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007498/0.8737, allocations: 444.8 kB / 1.284 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8737, allocations: 0 / 1.284 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.494e-06/0.8737, allocations: 1.25 kB / 1.284 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.8737, allocations: 3.938 kB / 1.284 GB, free: 8.285 MB / 0.9981 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.001013/0.8747, allocations: 0.5341 MB / 1.285 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.8748, allocations: 8.312 kB / 1.285 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.058e-05/0.8748, allocations: 3.766 kB / 1.285 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.255e-05/0.8749, allocations: 53.58 kB / 1.285 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.876, allocations: 136.8 kB / 1.285 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.8762, allocations: 182.1 kB / 1.285 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.513e-05/0.8762, allocations: 54.03 kB / 1.285 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.8763, allocations: 15.41 kB / 1.285 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.8769, allocations: 221.9 kB / 1.286 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.8769, allocations: 0.6094 kB / 1.286 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.877, allocations: 6.781 kB / 1.286 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.877, allocations: 2.844 kB / 1.286 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000783/0.8778, allocations: 232.6 kB / 1.286 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.8794, allocations: 0.9679 MB / 1.287 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.8799, allocations: 163.3 kB / 1.287 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/0.8803, allocations: 106 kB / 1.287 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007265/0.881, allocations: 0.5151 MB / 1.288 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.881, allocations: 37.31 kB / 1.288 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.881, allocations: 0 / 1.288 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.001227/0.8823, allocations: 338.4 kB / 1.288 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.8823, allocations: 52.84 kB / 1.288 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.8825, allocations: 161.8 kB / 1.288 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.8825, allocations: 35.02 kB / 1.288 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.8826, allocations: 119.5 kB / 1.288 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.427e-05/0.8827, allocations: 60.11 kB / 1.288 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.8828, allocations: 44.31 kB / 1.288 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.8829, allocations: 329.3 kB / 1.289 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.8833, allocations: 99.92 kB / 1.289 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.8837, allocations: 127.2 kB / 1.289 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/0.8844, allocations: 198.1 kB / 1.289 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8844, allocations: 0 / 1.289 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008518/0.8852, allocations: 265.8 kB / 1.289 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.8853, allocations: 6.469 kB / 1.289 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.8853, allocations: 5.375 kB / 1.289 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.8853, allocations: 9.094 kB / 1.289 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.8857, allocations: 49.36 kB / 1.289 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8857, allocations: 1.406 kB / 1.289 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.886, allocations: 40.75 kB / 1.289 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.886, allocations: 10.47 kB / 1.289 GB, free: 4.559 MB / 0.9981 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.0001486/0.8862, allocations: 128.7 kB / 1.29 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.8862, allocations: 12.14 kB / 1.29 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008962/0.8871, allocations: 273.5 kB / 1.29 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.8871, allocations: 1.5 kB / 1.29 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8871, allocations: 0 / 1.29 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.8871, allocations: 1.266 kB / 1.29 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.8893, allocations: 1.079 MB / 1.291 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.8893, allocations: 0 / 1.291 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.8896, allocations: 43.25 kB / 1.291 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.8896, allocations: 2.469 kB / 1.291 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.8897, allocations: 2.531 kB / 1.291 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.8897, allocations: 5.656 kB / 1.291 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8897, allocations: 2.234 kB / 1.291 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/0.8905, allocations: 344.5 kB / 1.291 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-05/0.8906, allocations: 95.19 kB / 1.291 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.8907, allocations: 9.953 kB / 1.291 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.891, allocations: 29.55 kB / 1.291 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.891, allocations: 10.03 kB / 1.291 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.8911, allocations: 5.531 kB / 1.291 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001164/0.8912, allocations: 116.2 kB / 1.292 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8912, allocations: 1.562 kB / 1.292 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006246/0.8918, allocations: 138.3 kB / 1.292 GB, free: 2.887 MB / 0.9981 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.001691/0.8935, allocations: 1.006 MB / 1.293 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008425/0.8943, allocations: 223.6 kB / 1.293 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8943, allocations: 5.438 kB / 1.293 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.8947, allocations: 105.1 kB / 1.293 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.8952, allocations: 56.81 kB / 1.293 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005656/0.9008, allocations: 2.378 MB / 1.295 GB, free: 344 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.9012, allocations: 0.7135 MB / 1.296 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000208/0.9014, allocations: 35.34 kB / 1.296 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.9016, allocations: 43.92 kB / 1.296 GB, free: 15.59 MB / 1.014 GB Notification: Performance of SimCode: time 9.12e-07/0.9016, allocations: 0 / 1.296 GB, free: 15.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.9319, allocations: 6.475 MB / 1.302 GB, free: 14.85 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/9.237, allocations: 11.45 kB / 1.302 GB, free: 14.84 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.358444368001074]