Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001646/0.001646, allocations: 117.4 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.002021/0.002021, allocations: 214.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.443/1.443, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.757/2.757, allocations: 476.7 MB / 0.7678 GB, free: 9.477 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.ReciprocatingCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.002044/0.002044, allocations: 71.89 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8245/0.8266, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003363/0.8299, allocations: 2.059 MB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002804/0.8327, allocations: 1.702 MB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.8328, allocations: 2.469 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.814e-05/0.8329, allocations: 19.97 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.833, allocations: 49.55 kB / 1.283 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.834, allocations: 358.4 kB / 1.283 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.8343, allocations: 215.5 kB / 1.283 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.8344, allocations: 42.22 kB / 1.283 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.8345, allocations: 81.95 kB / 1.283 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.8347, allocations: 92.53 kB / 1.283 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.8347, allocations: 17.41 kB / 1.283 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008255/0.8355, allocations: 423.5 kB / 1.284 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.8356, allocations: 45.02 kB / 1.284 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.499e-05/0.8357, allocations: 86.69 kB / 1.284 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006672/0.8363, allocations: 435.2 kB / 1.284 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8363, allocations: 0 / 1.284 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8363, allocations: 0 / 1.284 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.8364, allocations: 0.7031 kB / 1.284 GB, free: 8.312 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008941/0.8372, allocations: 0.5221 MB / 1.285 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.8373, allocations: 13.7 kB / 1.285 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.135e-05/0.8373, allocations: 4.141 kB / 1.285 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.8374, allocations: 51.36 kB / 1.285 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005776/0.8379, allocations: 90.28 kB / 1.285 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.8381, allocations: 182.4 kB / 1.285 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.871e-05/0.8382, allocations: 53.58 kB / 1.285 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.8382, allocations: 13.38 kB / 1.285 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.8386, allocations: 183.7 kB / 1.285 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.8387, allocations: 2.234 kB / 1.285 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.8387, allocations: 5.094 kB / 1.285 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.8387, allocations: 7.531 kB / 1.285 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.8392, allocations: 179.4 kB / 1.286 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.8406, allocations: 0.9147 MB / 1.287 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.8411, allocations: 156.8 kB / 1.287 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.8413, allocations: 67.78 kB / 1.287 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006926/0.842, allocations: 0.5189 MB / 1.287 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.842, allocations: 36.33 kB / 1.287 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.842, allocations: 0 / 1.287 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0007206/0.8427, allocations: 244.9 kB / 1.288 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.8428, allocations: 54.28 kB / 1.288 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.843, allocations: 156.6 kB / 1.288 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.843, allocations: 31.33 kB / 1.288 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.8431, allocations: 123 kB / 1.288 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.8431, allocations: 50.27 kB / 1.288 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.8432, allocations: 39.31 kB / 1.288 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.8433, allocations: 325.5 kB / 1.288 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.8435, allocations: 76.25 kB / 1.288 GB, free: 5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.8438, allocations: 98.34 kB / 1.288 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.8442, allocations: 146.9 kB / 1.289 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8442, allocations: 4 kB / 1.289 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005364/0.8447, allocations: 210.8 kB / 1.289 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8447, allocations: 5.797 kB / 1.289 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.8447, allocations: 0 / 1.289 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.8447, allocations: 6 kB / 1.289 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.845, allocations: 35.72 kB / 1.289 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.845, allocations: 1 kB / 1.289 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.8452, allocations: 36.58 kB / 1.289 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.8452, allocations: 6.594 kB / 1.289 GB, free: 4.758 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 (20): * Single equations (assignments): 20 * 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.0001191/0.8453, allocations: 128.9 kB / 1.289 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.8454, allocations: 11.11 kB / 1.289 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005368/0.8459, allocations: 199 kB / 1.289 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.8459, allocations: 5.516 kB / 1.289 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8459, allocations: 0.8438 kB / 1.289 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8459, allocations: 4.547 kB / 1.289 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.8474, allocations: 0.988 MB / 1.29 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.8474, allocations: 0 / 1.29 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.8476, allocations: 28.22 kB / 1.29 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8476, allocations: 1.375 kB / 1.29 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.8477, allocations: 7.219 kB / 1.29 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.8477, allocations: 6.719 kB / 1.29 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.8477, allocations: 5.031 kB / 1.29 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005295/0.8482, allocations: 287.4 kB / 1.29 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.8483, allocations: 87.45 kB / 1.291 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.8483, allocations: 5.953 kB / 1.291 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.8485, allocations: 17.2 kB / 1.291 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.8486, allocations: 13.25 kB / 1.291 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.8486, allocations: 4.359 kB / 1.291 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.34e-05/0.8487, allocations: 125.7 kB / 1.291 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8487, allocations: 0 / 1.291 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005136/0.8492, allocations: 135.6 kB / 1.291 GB, free: 3.156 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 (14): * Single equations (assignments): 14 * 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.001185/0.8504, allocations: 0.9422 MB / 1.292 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005115/0.8509, allocations: 163.5 kB / 1.292 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8509, allocations: 4 kB / 1.292 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.8511, allocations: 70.56 kB / 1.292 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.8515, allocations: 57.73 kB / 1.292 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.8545, allocations: 2.074 MB / 1.294 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.8548, allocations: 0.7153 MB / 1.295 GB, free: 12 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.8549, allocations: 27.36 kB / 1.295 GB, free: 8 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.8551, allocations: 43.05 kB / 1.295 GB, free: 15.98 MB / 1.014 GB Notification: Performance of SimCode: time 3.5e-07/0.8551, allocations: 7.938 kB / 1.295 GB, free: 15.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.882, allocations: 6.177 MB / 1.301 GB, free: 15.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/9.196, allocations: 13.05 kB / 1.301 GB, free: 15.25 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.235578007996082]