Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001282/0.001282, 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.001404/0.001404, 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.4/1.4, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.768/2.768, allocations: 0.49 GB / 0.7923 GB, free: 1.363 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.ReciprocatingCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_12_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.003201/0.003201, allocations: 71.91 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7978/0.801, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002472/0.8035, allocations: 2.059 MB / 1.323 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.8053, allocations: 1.686 MB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/0.8054, allocations: 6.562 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.06e-05/0.8054, allocations: 20.88 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.811e-05/0.8055, allocations: 48 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000801/0.8063, allocations: 355.5 kB / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.8065, allocations: 231.1 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.8066, allocations: 36.98 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.703e-05/0.8067, allocations: 80.22 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.8068, allocations: 90.34 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.8068, allocations: 18.38 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006028/0.8074, allocations: 416.5 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.8075, allocations: 45.77 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.8075, allocations: 87.67 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.808, allocations: 435 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.808, allocations: 4.5 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.423e-06/0.808, allocations: 0.5312 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.808, allocations: 3.938 kB / 1.327 GB, free: 21.35 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007186/0.8087, allocations: 0.5164 MB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.8088, allocations: 13.95 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.925e-05/0.8088, allocations: 3.797 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.8088, allocations: 51.61 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005637/0.8094, allocations: 92.58 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.937e-05/0.8095, allocations: 185 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.944e-05/0.8095, allocations: 47.02 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.8096, allocations: 17.34 kB / 1.328 GB, free: 20.56 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.81, allocations: 189.6 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.81, allocations: 1.469 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.81, allocations: 4.969 kB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.81, allocations: 3.781 kB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.8104, allocations: 184.7 kB / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.8115, allocations: 0.8999 MB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.8121, allocations: 164.5 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.8122, allocations: 71.56 kB / 1.329 GB, free: 19.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005351/0.8128, allocations: 0.5217 MB / 1.33 GB, free: 18.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.8128, allocations: 38.8 kB / 1.33 GB, free: 18.89 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.8128, allocations: 0 / 1.33 GB, free: 18.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0007039/0.8135, allocations: 243.6 kB / 1.33 GB, free: 18.78 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.8135, allocations: 53.38 kB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.8136, allocations: 161.7 kB / 1.33 GB, free: 18.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.8137, allocations: 31.17 kB / 1.33 GB, free: 18.56 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.8137, allocations: 120.7 kB / 1.33 GB, free: 18.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.8137, allocations: 48.67 kB / 1.33 GB, free: 18.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/0.8138, allocations: 37.88 kB / 1.331 GB, free: 18.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.878e-05/0.8139, allocations: 325.8 kB / 1.331 GB, free: 18.06 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.8141, allocations: 75.39 kB / 1.331 GB, free: 18.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.8143, allocations: 96.42 kB / 1.331 GB, free: 17.99 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.8147, allocations: 144.5 kB / 1.331 GB, free: 17.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8147, allocations: 0.9375 kB / 1.331 GB, free: 17.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000508/0.8152, allocations: 220.4 kB / 1.331 GB, free: 17.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.8152, allocations: 6.25 kB / 1.331 GB, free: 17.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.8152, allocations: 3.984 kB / 1.331 GB, free: 17.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.8153, allocations: 2.5 kB / 1.331 GB, free: 17.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.8155, allocations: 39.45 kB / 1.331 GB, free: 17.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.8155, allocations: 1.094 kB / 1.331 GB, free: 17.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.8157, allocations: 29.84 kB / 1.331 GB, free: 17.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.8157, allocations: 9.578 kB / 1.331 GB, free: 17.79 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 (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 7.693e-05/0.8158, allocations: 123.8 kB / 1.332 GB, free: 17.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.8158, allocations: 11.92 kB / 1.332 GB, free: 17.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005096/0.8163, allocations: 202.1 kB / 1.332 GB, free: 17.56 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.8164, allocations: 7.266 kB / 1.332 GB, free: 17.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8164, allocations: 3.938 kB / 1.332 GB, free: 17.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.8164, allocations: 0.9375 kB / 1.332 GB, free: 17.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.8176, allocations: 0.9751 MB / 1.333 GB, free: 16.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.8176, allocations: 1.219 kB / 1.333 GB, free: 16.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.8178, allocations: 32.78 kB / 1.333 GB, free: 16.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.8178, allocations: 0.9375 kB / 1.333 GB, free: 16.65 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.8178, allocations: 7.719 kB / 1.333 GB, free: 16.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.8178, allocations: 1.125 kB / 1.333 GB, free: 16.65 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8178, allocations: 5.375 kB / 1.333 GB, free: 16.64 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.8183, allocations: 291.4 kB / 1.333 GB, free: 16.44 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.8183, allocations: 88.91 kB / 1.333 GB, free: 16.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.8184, allocations: 11.12 kB / 1.333 GB, free: 16.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.8186, allocations: 20.53 kB / 1.333 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.8186, allocations: 13.28 kB / 1.333 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.8186, allocations: 5.562 kB / 1.333 GB, free: 16.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.677e-05/0.8187, allocations: 122.7 kB / 1.333 GB, free: 16.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8187, allocations: 0 / 1.333 GB, free: 16.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004572/0.8191, allocations: 132 kB / 1.333 GB, free: 16.19 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 (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.0009153/0.8201, allocations: 0.9473 MB / 1.334 GB, free: 15.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004752/0.8205, allocations: 164.7 kB / 1.334 GB, free: 15.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8205, allocations: 5.25 kB / 1.334 GB, free: 15.37 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.8207, allocations: 78.25 kB / 1.335 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.8211, allocations: 49.02 kB / 1.335 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.8236, allocations: 2.063 MB / 1.337 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.8237, allocations: 0.7072 MB / 1.337 GB, free: 13.05 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.8239, allocations: 38.03 kB / 1.337 GB, free: 13.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.758e-05/0.824, allocations: 42.55 kB / 1.337 GB, free: 13.01 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.824, allocations: 0.5938 kB / 1.337 GB, free: 13.01 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.8473, allocations: 6.181 MB / 1.343 GB, free: 12.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/9.015, allocations: 13.47 kB / 1.343 GB, free: 12.29 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.968706725980155]