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.001238/0.001238, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.00132/0.00132, allocations: 215 kB / 20.13 MB, free: 2.949 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.421/1.421, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.803/2.803, allocations: 0.49 GB / 0.7923 GB, free: 1.352 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_12_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.00196/0.00196, allocations: 74.23 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8461/0.8481, allocations: 176.1 MB / 1.321 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00258/0.8506, allocations: 2.064 MB / 1.323 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.8524, allocations: 1.695 MB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.006e-05/0.8525, allocations: 2.75 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.241e-05/0.8525, allocations: 20.53 kB / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.934e-05/0.8526, allocations: 51.5 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008141/0.8534, allocations: 364.3 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.8536, allocations: 228.8 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.8537, allocations: 40.91 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.67e-05/0.8538, allocations: 88.45 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.8539, allocations: 98.14 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.8539, allocations: 20.69 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006555/0.8546, allocations: 416.2 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.8546, allocations: 44 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.8547, allocations: 100 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005157/0.8552, allocations: 435.1 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8552, allocations: 0.625 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8552, allocations: 0 / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.8552, allocations: 0.875 kB / 1.327 GB, free: 21.18 MB / 1.061 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.0008227/0.856, allocations: 0.531 MB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.8561, allocations: 18.17 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.115e-05/0.8561, allocations: 3.609 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.8561, allocations: 51.25 kB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.8573, allocations: 137.5 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.8574, allocations: 185.4 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.332e-05/0.8575, allocations: 55 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.8575, allocations: 18.44 kB / 1.328 GB, free: 20.37 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.858, allocations: 214.1 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.8581, allocations: 0 / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.8581, allocations: 13.62 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.8581, allocations: 3.812 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007591/0.8588, allocations: 232.2 kB / 1.328 GB, free: 20.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.86, allocations: 0.9643 MB / 1.329 GB, free: 19.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.8605, allocations: 163.2 kB / 1.329 GB, free: 19.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.8608, allocations: 107.9 kB / 1.33 GB, free: 19.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005097/0.8613, allocations: 0.5244 MB / 1.33 GB, free: 18.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.8614, allocations: 38.89 kB / 1.33 GB, free: 18.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.8614, allocations: 1 kB / 1.33 GB, free: 18.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.001201/0.8626, allocations: 326.2 kB / 1.33 GB, free: 18.49 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.8626, allocations: 52.91 kB / 1.33 GB, free: 18.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.8627, allocations: 160.8 kB / 1.331 GB, free: 18.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.8627, allocations: 30.92 kB / 1.331 GB, free: 18.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.8628, allocations: 119.2 kB / 1.331 GB, free: 18.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.8628, allocations: 55.53 kB / 1.331 GB, free: 18.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-05/0.8629, allocations: 44.52 kB / 1.331 GB, free: 18.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.863, allocations: 329.8 kB / 1.331 GB, free: 17.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.8633, allocations: 99.77 kB / 1.331 GB, free: 17.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.8637, allocations: 125.3 kB / 1.331 GB, free: 17.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.8643, allocations: 195 kB / 1.332 GB, free: 17.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.8643, allocations: 0 / 1.332 GB, free: 17.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007887/0.8651, allocations: 273.2 kB / 1.332 GB, free: 17.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8651, allocations: 5.594 kB / 1.332 GB, free: 17.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.8651, allocations: 2.078 kB / 1.332 GB, free: 17.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.8652, allocations: 5.375 kB / 1.332 GB, free: 17.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.8655, allocations: 45.08 kB / 1.332 GB, free: 17.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8655, allocations: 6.125 kB / 1.332 GB, free: 17.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.8658, allocations: 40.25 kB / 1.332 GB, free: 17.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.8658, allocations: 6.625 kB / 1.332 GB, free: 17.45 MB / 1.061 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.645e-05/0.8659, allocations: 126.7 kB / 1.332 GB, free: 17.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.866, allocations: 16.12 kB / 1.332 GB, free: 17.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008117/0.8668, allocations: 275.3 kB / 1.332 GB, free: 17.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.8668, allocations: 6.234 kB / 1.332 GB, free: 17.19 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.8668, allocations: 0 / 1.332 GB, free: 17.19 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.8668, allocations: 1.219 kB / 1.332 GB, free: 17.19 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.8684, allocations: 1.075 MB / 1.333 GB, free: 16.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.8684, allocations: 0 / 1.333 GB, free: 16.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.8687, allocations: 43.61 kB / 1.333 GB, free: 16.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.8687, allocations: 9.406 kB / 1.333 GB, free: 16.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.8688, allocations: 11.89 kB / 1.333 GB, free: 16.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8688, allocations: 2.328 kB / 1.333 GB, free: 16.24 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8688, allocations: 0 / 1.333 GB, free: 16.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007397/0.8695, allocations: 350.5 kB / 1.334 GB, free: 16.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.8695, allocations: 91.59 kB / 1.334 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.8696, allocations: 5.594 kB / 1.334 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.8699, allocations: 21.91 kB / 1.334 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.8699, allocations: 17.62 kB / 1.334 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.8699, allocations: 9.688 kB / 1.334 GB, free: 15.9 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.319e-05/0.87, allocations: 119.4 kB / 1.334 GB, free: 15.81 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.87, allocations: 3.938 kB / 1.334 GB, free: 15.81 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004902/0.8705, allocations: 131.2 kB / 1.334 GB, free: 15.78 MB / 1.061 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.001256/0.8718, allocations: 1.011 MB / 1.335 GB, free: 14.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007778/0.8725, allocations: 221.3 kB / 1.335 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8725, allocations: 1.094 kB / 1.335 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.8729, allocations: 108.5 kB / 1.336 GB, free: 14.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.8733, allocations: 39.25 kB / 1.336 GB, free: 14.87 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/0.8782, allocations: 2.375 MB / 1.338 GB, free: 13.24 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.8783, allocations: 0.7138 MB / 1.339 GB, free: 12.54 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.8785, allocations: 34.08 kB / 1.339 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.8786, allocations: 43.55 kB / 1.339 GB, free: 12.49 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.8786, allocations: 0 / 1.339 GB, free: 12.49 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.9021, allocations: 6.483 MB / 1.345 GB, free: 11.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/9.171, allocations: 14.98 kB / 1.345 GB, free: 11.73 MB / 1.061 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 420.0] 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: 15.179412307974417]