Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001585/0.001585, allocations: 105.5 kB / 16.45 MB, free: 6.445 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.001574/0.001574, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.535/1.535, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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 2.852/2.852, allocations: 497.2 MB / 0.7812 GB, free: 11.89 MB / 0.6231 GB " [Timeout remaining time 176] 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.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.89 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003202/1.037, allocations: 2.045 MB / 1.306 GB, free: 30.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002378/1.039, allocations: 1.669 MB / 1.308 GB, free: 29.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.215e-05/1.039, allocations: 2.906 kB / 1.308 GB, free: 29.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.372e-05/1.039, allocations: 15.28 kB / 1.308 GB, free: 29.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/1.039, allocations: 54.92 kB / 1.308 GB, free: 29.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/1.041, allocations: 355.8 kB / 1.308 GB, free: 29.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/1.041, allocations: 216.1 kB / 1.308 GB, free: 29.17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/1.041, allocations: 48.2 kB / 1.308 GB, free: 29.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/1.041, allocations: 75.17 kB / 1.308 GB, free: 29.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/1.041, allocations: 93.27 kB / 1.308 GB, free: 29.06 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/1.041, allocations: 17.19 kB / 1.308 GB, free: 29.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007687/1.042, allocations: 417 kB / 1.309 GB, free: 28.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/1.042, allocations: 43.55 kB / 1.309 GB, free: 28.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/1.042, allocations: 88.66 kB / 1.309 GB, free: 28.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000541/1.043, allocations: 432.2 kB / 1.309 GB, free: 28.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.043, allocations: 0 / 1.309 GB, free: 28.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.144e-06/1.043, allocations: 0 / 1.309 GB, free: 28.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.163e-06/1.043, allocations: 0 / 1.309 GB, free: 28.71 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.0007572/1.043, allocations: 0.5218 MB / 1.31 GB, free: 28.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/1.044, allocations: 14.86 kB / 1.31 GB, free: 28.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/1.044, allocations: 52.91 kB / 1.31 GB, free: 28.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005211/1.044, allocations: 91.11 kB / 1.31 GB, free: 28.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/1.044, allocations: 179 kB / 1.31 GB, free: 27.97 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.159e-05/1.044, allocations: 51.91 kB / 1.31 GB, free: 27.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/1.044, allocations: 12.97 kB / 1.31 GB, free: 27.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/1.045, allocations: 189.4 kB / 1.31 GB, free: 27.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.045, allocations: 0 / 1.31 GB, free: 27.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/1.045, allocations: 6.781 kB / 1.31 GB, free: 27.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.045, allocations: 2.75 kB / 1.31 GB, free: 27.83 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/1.045, allocations: 187.6 kB / 1.311 GB, free: 27.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/1.046, allocations: 0.9163 MB / 1.312 GB, free: 26.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/1.047, allocations: 160.3 kB / 1.312 GB, free: 26.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/1.047, allocations: 76.12 kB / 1.312 GB, free: 26.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000523/1.047, allocations: 0.5162 MB / 1.312 GB, free: 26.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/1.047, allocations: 33.28 kB / 1.312 GB, free: 26.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/1.047, allocations: 0 / 1.312 GB, free: 26.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0006409/1.048, allocations: 242.8 kB / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/1.048, allocations: 54.75 kB / 1.313 GB, free: 26.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/1.048, allocations: 155.2 kB / 1.313 GB, free: 25.96 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/1.048, allocations: 32.67 kB / 1.313 GB, free: 25.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/1.048, allocations: 117 kB / 1.313 GB, free: 25.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/1.048, allocations: 56.09 kB / 1.313 GB, free: 25.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/1.048, allocations: 40.8 kB / 1.313 GB, free: 25.74 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.075e-05/1.048, allocations: 325 kB / 1.313 GB, free: 25.42 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/1.049, allocations: 76.19 kB / 1.313 GB, free: 25.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/1.049, allocations: 94.52 kB / 1.313 GB, free: 25.35 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/1.049, allocations: 154.1 kB / 1.314 GB, free: 25.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.049, allocations: 0 / 1.314 GB, free: 25.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004336/1.05, allocations: 213.1 kB / 1.314 GB, free: 25.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.05, allocations: 4.219 kB / 1.314 GB, free: 25.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.05, allocations: 0 / 1.314 GB, free: 25.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.05, allocations: 6.219 kB / 1.314 GB, free: 25.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/1.05, allocations: 42.69 kB / 1.314 GB, free: 25.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.05, allocations: 0 / 1.314 GB, free: 25.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/1.05, allocations: 27.91 kB / 1.314 GB, free: 25.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/1.05, allocations: 4.812 kB / 1.314 GB, free: 25.16 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 9.419e-05/1.05, allocations: 127.4 kB / 1.314 GB, free: 25.03 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/1.05, allocations: 19.53 kB / 1.314 GB, free: 25.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004818/1.051, allocations: 199.2 kB / 1.314 GB, free: 24.92 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.051, allocations: 3 kB / 1.314 GB, free: 24.92 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.051, allocations: 0 / 1.314 GB, free: 24.92 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.051, allocations: 0 / 1.314 GB, free: 24.92 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/1.052, allocations: 0.986 MB / 1.315 GB, free: 24.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.052, allocations: 0 / 1.315 GB, free: 24.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/1.052, allocations: 32.95 kB / 1.315 GB, free: 24.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/1.052, allocations: 0 / 1.315 GB, free: 24.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/1.052, allocations: 2.531 kB / 1.315 GB, free: 24.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.052, allocations: 6.562 kB / 1.315 GB, free: 24.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.052, allocations: 0 / 1.315 GB, free: 24.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/1.052, allocations: 298.9 kB / 1.315 GB, free: 23.8 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/1.052, allocations: 87.16 kB / 1.316 GB, free: 23.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/1.053, allocations: 6.812 kB / 1.316 GB, free: 23.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/1.053, allocations: 12.2 kB / 1.316 GB, free: 23.7 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/1.053, allocations: 16.95 kB / 1.316 GB, free: 23.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/1.053, allocations: 9.75 kB / 1.316 GB, free: 23.69 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.375e-05/1.053, allocations: 124 kB / 1.316 GB, free: 23.6 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.053, allocations: 4 kB / 1.316 GB, free: 23.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004973/1.053, allocations: 130.4 kB / 1.316 GB, free: 23.56 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.0009859/1.054, allocations: 0.9453 MB / 1.317 GB, free: 22.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004538/1.055, allocations: 166.7 kB / 1.317 GB, free: 22.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.055, allocations: 2.656 kB / 1.317 GB, free: 22.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/1.055, allocations: 74.2 kB / 1.317 GB, free: 22.71 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/1.055, allocations: 48 kB / 1.317 GB, free: 22.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/1.058, allocations: 2.057 MB / 1.319 GB, free: 21.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/1.058, allocations: 0.7146 MB / 1.32 GB, free: 20.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001543/1.058, allocations: 29.8 kB / 1.32 GB, free: 20.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.11e-05/1.058, allocations: 44.55 kB / 1.32 GB, free: 20.39 MB / 1.061 GB Notification: Performance of SimCode: time 8.71e-07/1.058, allocations: 0 / 1.32 GB, free: 20.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/1.09, allocations: 6.08 MB / 1.326 GB, free: 19.69 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/9.533, allocations: 10.06 kB / 1.326 GB, free: 19.68 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.8375363801606]