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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 104.2 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.116/3.116, allocations: 497.2 MB / 0.7811 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 64.41 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3464, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003216/0.3496, allocations: 2.047 MB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.352, allocations: 1.678 MB / 1.308 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.352, allocations: 3.938 kB / 1.308 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.493e-05/0.3521, allocations: 19.84 kB / 1.308 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.772e-05/0.3522, allocations: 51.48 kB / 1.308 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008911/0.3531, allocations: 358.8 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.3533, allocations: 239 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3535, allocations: 33.81 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.752e-05/0.3536, allocations: 79.84 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.3537, allocations: 91.66 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.3538, allocations: 23.94 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007507/0.3545, allocations: 415.5 kB / 1.309 GB, free: 12.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.589e-05/0.3546, allocations: 51.83 kB / 1.309 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.377e-05/0.3546, allocations: 87.66 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005942/0.3552, allocations: 450.5 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3552, allocations: 0 / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3552, allocations: 3.938 kB / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3553, allocations: 0 / 1.309 GB, free: 11.94 MB / 1.014 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.000882/0.3561, allocations: 0.5257 MB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3562, allocations: 8.922 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.743e-05/0.3562, allocations: 54.73 kB / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.3573, allocations: 140.7 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3575, allocations: 180.2 kB / 1.31 GB, free: 10.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-05/0.3576, allocations: 50.25 kB / 1.31 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.3576, allocations: 20.31 kB / 1.31 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.3582, allocations: 222.2 kB / 1.311 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3582, allocations: 0 / 1.311 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.3582, allocations: 8 kB / 1.311 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3582, allocations: 4 kB / 1.311 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.359, allocations: 231.6 kB / 1.311 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.3605, allocations: 0.9779 MB / 1.312 GB, free: 9.301 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.361, allocations: 166.7 kB / 1.312 GB, free: 9.129 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/0.3613, allocations: 96.8 kB / 1.312 GB, free: 9.031 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007229/0.362, allocations: 0.522 MB / 1.313 GB, free: 8.398 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3621, allocations: 34.56 kB / 1.313 GB, free: 8.355 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.3621, allocations: 0 / 1.313 GB, free: 8.355 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.001163/0.3632, allocations: 339.7 kB / 1.313 GB, free: 8.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.3633, allocations: 55.41 kB / 1.313 GB, free: 7.953 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.3634, allocations: 147.9 kB / 1.313 GB, free: 7.801 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.3634, allocations: 37.69 kB / 1.313 GB, free: 7.758 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.004e-05/0.3635, allocations: 124.2 kB / 1.313 GB, free: 7.629 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.3636, allocations: 55.53 kB / 1.313 GB, free: 7.574 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-05/0.3637, allocations: 41.7 kB / 1.313 GB, free: 7.527 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3638, allocations: 326.8 kB / 1.314 GB, free: 7.199 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.3642, allocations: 99.94 kB / 1.314 GB, free: 7.102 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.3645, allocations: 125.6 kB / 1.314 GB, free: 6.973 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006512/0.3652, allocations: 199.6 kB / 1.314 GB, free: 6.773 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3652, allocations: 0 / 1.314 GB, free: 6.773 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008147/0.366, allocations: 270.8 kB / 1.314 GB, free: 6.504 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.366, allocations: 4 kB / 1.314 GB, free: 6.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.366, allocations: 3.938 kB / 1.314 GB, free: 6.496 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.366, allocations: 7.938 kB / 1.314 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.3664, allocations: 55.92 kB / 1.314 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3664, allocations: 0 / 1.314 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.3667, allocations: 39.81 kB / 1.314 GB, free: 6.395 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.3667, allocations: 4 kB / 1.314 GB, free: 6.391 MB / 1.014 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.000127/0.3669, allocations: 133.7 kB / 1.315 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.3669, allocations: 11.95 kB / 1.315 GB, free: 6.238 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008231/0.3677, allocations: 258.7 kB / 1.315 GB, free: 5.977 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.3677, allocations: 3.938 kB / 1.315 GB, free: 5.973 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3677, allocations: 8 kB / 1.315 GB, free: 5.965 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3677, allocations: 7.969 kB / 1.315 GB, free: 5.957 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.3696, allocations: 1.092 MB / 1.316 GB, free: 4.715 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3696, allocations: 0 / 1.316 GB, free: 4.715 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.3699, allocations: 39.97 kB / 1.316 GB, free: 4.676 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3699, allocations: 4 kB / 1.316 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.3699, allocations: 0 / 1.316 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3699, allocations: 7.984 kB / 1.316 GB, free: 4.664 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3699, allocations: 0 / 1.316 GB, free: 4.664 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/0.3707, allocations: 351.7 kB / 1.316 GB, free: 4.301 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.3708, allocations: 93.02 kB / 1.316 GB, free: 4.191 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.3708, allocations: 4 kB / 1.316 GB, free: 4.188 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.3711, allocations: 27.97 kB / 1.316 GB, free: 4.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.3712, allocations: 11.98 kB / 1.316 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.3712, allocations: 7.984 kB / 1.316 GB, free: 4.141 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001034/0.3713, allocations: 121.1 kB / 1.317 GB, free: 4.023 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3713, allocations: 4 kB / 1.317 GB, free: 4.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004648/0.3718, allocations: 131.5 kB / 1.317 GB, free: 3.891 MB / 1.014 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.001433/0.3732, allocations: 1.002 MB / 1.318 GB, free: 2.855 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007496/0.3739, allocations: 219.8 kB / 1.318 GB, free: 2.641 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3739, allocations: 3.938 kB / 1.318 GB, free: 2.637 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.3743, allocations: 108 kB / 1.318 GB, free: 2.531 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.3747, allocations: 55.91 kB / 1.318 GB, free: 2.477 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/0.3799, allocations: 2.359 MB / 1.32 GB, free: 24 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.3803, allocations: 0.7162 MB / 1.321 GB, free: 15.28 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001725/0.3805, allocations: 29.55 kB / 1.321 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3806, allocations: 39.42 kB / 1.321 GB, free: 15.21 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3806, allocations: 8 kB / 1.321 GB, free: 15.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.4094, allocations: 6.399 MB / 1.327 GB, free: 9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/8.835, allocations: 13.34 kB / 1.327 GB, free: 8.992 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.464738668873906]