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.001537/0.001537, allocations: 110 kB / 16.41 MB, free: 6.508 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.001686/0.001686, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.405/1.405, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.095/3.095, allocations: 489 MB / 0.7678 GB, free: 29.22 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.002894/0.002894, allocations: 63.91 kB / 1.101 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8524/0.8553, allocations: 163.8 MB / 1.261 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003554/0.8589, allocations: 2.035 MB / 1.263 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002635/0.8615, allocations: 1.667 MB / 1.265 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.214e-05/0.8617, allocations: 11.94 kB / 1.265 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.649e-05/0.8617, allocations: 19.78 kB / 1.265 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.8619, allocations: 47.56 kB / 1.265 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.863, allocations: 362.8 kB / 1.265 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.8633, allocations: 235 kB / 1.265 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.8635, allocations: 49.52 kB / 1.265 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.8636, allocations: 87.72 kB / 1.265 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.8638, allocations: 91.66 kB / 1.266 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.8638, allocations: 20 kB / 1.266 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008513/0.8647, allocations: 415.5 kB / 1.266 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.8648, allocations: 47.89 kB / 1.266 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.8649, allocations: 83.66 kB / 1.266 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006773/0.8656, allocations: 449.4 kB / 1.266 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8656, allocations: 0 / 1.266 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8656, allocations: 0 / 1.266 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.8656, allocations: 4 kB / 1.266 GB, free: 1.512 MB / 0.9669 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.0009554/0.8666, allocations: 0.5296 MB / 1.267 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.8666, allocations: 12.03 kB / 1.267 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.8667, allocations: 46.73 kB / 1.267 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.8679, allocations: 140.7 kB / 1.267 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.8681, allocations: 176.2 kB / 1.267 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.8682, allocations: 54.25 kB / 1.267 GB, free: 468 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.8682, allocations: 12.38 kB / 1.267 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006063/0.8689, allocations: 221.8 kB / 1.268 GB, free: 228 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.8689, allocations: 0 / 1.268 GB, free: 228 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.8689, allocations: 8 kB / 1.268 GB, free: 220 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.8689, allocations: 4 kB / 1.268 GB, free: 216 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008176/0.8697, allocations: 239.5 kB / 1.268 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.8714, allocations: 0.9628 MB / 1.269 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.8719, allocations: 186.5 kB / 1.269 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.8723, allocations: 108.8 kB / 1.269 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007291/0.873, allocations: 0.522 MB / 1.27 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.8731, allocations: 30.56 kB / 1.27 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.8731, allocations: 0 / 1.27 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.001233/0.8743, allocations: 331.6 kB / 1.27 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.8744, allocations: 55.39 kB / 1.27 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.8745, allocations: 165.1 kB / 1.27 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.8746, allocations: 33.69 kB / 1.27 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.229e-05/0.8747, allocations: 120.3 kB / 1.27 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.556e-05/0.8747, allocations: 59.48 kB / 1.27 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.8748, allocations: 45.64 kB / 1.27 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.875, allocations: 322.8 kB / 1.271 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.8754, allocations: 103.9 kB / 1.271 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.8758, allocations: 125.6 kB / 1.271 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000691/0.8765, allocations: 196.6 kB / 1.271 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8765, allocations: 0 / 1.271 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008546/0.8774, allocations: 273.4 kB / 1.271 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.8774, allocations: 4 kB / 1.271 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.8774, allocations: 0 / 1.271 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.8774, allocations: 11.97 kB / 1.271 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.8778, allocations: 55.83 kB / 1.271 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.8778, allocations: 4 kB / 1.271 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.8782, allocations: 35.86 kB / 1.271 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.8782, allocations: 8 kB / 1.272 GB, free: 11.93 MB / 0.9825 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.000141/0.8783, allocations: 125.8 kB / 1.272 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.8784, allocations: 15.89 kB / 1.272 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008983/0.8793, allocations: 270.6 kB / 1.272 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.8793, allocations: 7.938 kB / 1.272 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8793, allocations: 0 / 1.272 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.8793, allocations: 3.984 kB / 1.272 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.8813, allocations: 1.068 MB / 1.273 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.8813, allocations: 0 / 1.273 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.8817, allocations: 39.91 kB / 1.273 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.8817, allocations: 4 kB / 1.273 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.8817, allocations: 4 kB / 1.273 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.8817, allocations: 7.984 kB / 1.273 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8817, allocations: 4.062 kB / 1.273 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.8826, allocations: 350.6 kB / 1.273 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.8826, allocations: 89 kB / 1.273 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.8827, allocations: 0 / 1.273 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.883, allocations: 27.97 kB / 1.273 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.8831, allocations: 15.92 kB / 1.273 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.8831, allocations: 11.98 kB / 1.273 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001059/0.8832, allocations: 119.2 kB / 1.274 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8832, allocations: 0 / 1.274 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004859/0.8837, allocations: 131.6 kB / 1.274 GB, free: 9.457 MB / 0.9825 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.001555/0.8853, allocations: 1.01 MB / 1.275 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008154/0.8861, allocations: 228.1 kB / 1.275 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8861, allocations: 0 / 1.275 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.8865, allocations: 115.9 kB / 1.275 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.887, allocations: 49.75 kB / 1.275 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/0.8926, allocations: 2.368 MB / 1.277 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.893, allocations: 0.7086 MB / 1.278 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001954/0.8932, allocations: 33.7 kB / 1.278 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.8933, allocations: 46.92 kB / 1.278 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of SimCode: time 9.81e-07/0.8933, allocations: 3.938 kB / 1.278 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.9232, allocations: 6.354 MB / 1.284 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/9.13, allocations: 31.56 kB / 1.284 GB, free: 14.55 MB / 0.9981 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.13186713703908]