Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.001782/0.001782, allocations: 107.9 kB / 16.45 MB, free: 6.035 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.00177/0.00177, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.423/1.423, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.13/3.13, allocations: 497.2 MB / 0.7811 GB, free: 33.61 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.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 68.89 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3615, allocations: 173.9 MB / 1.304 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00341/0.3649, allocations: 2.036 MB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002586/0.3675, allocations: 1.674 MB / 1.308 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.3676, allocations: 4 kB / 1.308 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.365e-05/0.3676, allocations: 15.8 kB / 1.308 GB, free: 13.76 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3677, allocations: 55.55 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3688, allocations: 346.8 kB / 1.308 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.3691, allocations: 227.1 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.3692, allocations: 39.95 kB / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.3693, allocations: 83.78 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3695, allocations: 91.66 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.3695, allocations: 16 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008607/0.3704, allocations: 415.5 kB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.3704, allocations: 39.89 kB / 1.309 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.841e-05/0.3705, allocations: 87.66 kB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000647/0.3712, allocations: 434.6 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3712, allocations: 0 / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3712, allocations: 4 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.3712, allocations: 0 / 1.309 GB, free: 11.95 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008554/0.372, allocations: 0.5218 MB / 1.31 GB, free: 11.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3721, allocations: 8.922 kB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.3721, allocations: 54.67 kB / 1.31 GB, free: 11.31 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005536/0.3727, allocations: 88.75 kB / 1.31 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.3729, allocations: 180.2 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.482e-05/0.3729, allocations: 50.25 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.373, allocations: 16.38 kB / 1.31 GB, free: 10.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.3734, allocations: 190.9 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3734, allocations: 0 / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.3734, allocations: 8 kB / 1.31 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3734, allocations: 4 kB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.3739, allocations: 175.9 kB / 1.311 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.3754, allocations: 0.9152 MB / 1.312 GB, free: 9.523 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/0.3759, allocations: 162.5 kB / 1.312 GB, free: 9.355 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.3761, allocations: 72.83 kB / 1.312 GB, free: 9.281 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000755/0.3768, allocations: 0.5142 MB / 1.312 GB, free: 8.656 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.3768, allocations: 34.56 kB / 1.312 GB, free: 8.613 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.3769, allocations: 0 / 1.312 GB, free: 8.613 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0007343/0.3776, allocations: 245.7 kB / 1.313 GB, free: 8.367 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.3776, allocations: 55.41 kB / 1.313 GB, free: 8.301 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.3778, allocations: 151.3 kB / 1.313 GB, free: 8.145 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.3778, allocations: 33.7 kB / 1.313 GB, free: 8.105 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/0.3779, allocations: 123.8 kB / 1.313 GB, free: 7.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.378, allocations: 47.59 kB / 1.313 GB, free: 7.934 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.3781, allocations: 41.7 kB / 1.313 GB, free: 7.887 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3782, allocations: 322.8 kB / 1.313 GB, free: 7.562 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.3784, allocations: 75.95 kB / 1.313 GB, free: 7.488 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.3786, allocations: 91.05 kB / 1.313 GB, free: 7.395 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.379, allocations: 158.9 kB / 1.314 GB, free: 7.234 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.379, allocations: 0 / 1.314 GB, free: 7.234 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005307/0.3796, allocations: 219 kB / 1.314 GB, free: 7.016 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3796, allocations: 4 kB / 1.314 GB, free: 7.012 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3796, allocations: 0 / 1.314 GB, free: 7.012 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3796, allocations: 11.97 kB / 1.314 GB, free: 7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.3799, allocations: 35.97 kB / 1.314 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3799, allocations: 0 / 1.314 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.3801, allocations: 27.83 kB / 1.314 GB, free: 6.938 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.3801, allocations: 4 kB / 1.314 GB, free: 6.934 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 (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.0001321/0.3802, allocations: 133.7 kB / 1.314 GB, free: 6.793 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.3803, allocations: 15.94 kB / 1.314 GB, free: 6.777 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005444/0.3808, allocations: 202.1 kB / 1.314 GB, free: 6.574 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.3808, allocations: 0 / 1.314 GB, free: 6.574 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3808, allocations: 0 / 1.314 GB, free: 6.574 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3808, allocations: 7.984 kB / 1.314 GB, free: 6.566 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.3825, allocations: 0.9779 MB / 1.315 GB, free: 5.434 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3825, allocations: 0 / 1.315 GB, free: 5.434 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.3827, allocations: 32.03 kB / 1.315 GB, free: 5.402 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3827, allocations: 7.938 kB / 1.315 GB, free: 5.395 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3827, allocations: 0 / 1.315 GB, free: 5.395 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3827, allocations: 0 / 1.315 GB, free: 5.395 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3827, allocations: 4 kB / 1.315 GB, free: 5.391 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.3832, allocations: 293 kB / 1.315 GB, free: 5.082 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.3833, allocations: 85.06 kB / 1.316 GB, free: 4.98 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.3833, allocations: 7.984 kB / 1.316 GB, free: 4.973 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.3836, allocations: 15.92 kB / 1.316 GB, free: 4.957 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.3836, allocations: 19.92 kB / 1.316 GB, free: 4.938 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3836, allocations: 4 kB / 1.316 GB, free: 4.934 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001084/0.3837, allocations: 118.3 kB / 1.316 GB, free: 4.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3837, allocations: 4 kB / 1.316 GB, free: 4.816 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004794/0.3842, allocations: 135.5 kB / 1.316 GB, free: 4.684 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 (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.001189/0.3854, allocations: 0.9362 MB / 1.317 GB, free: 3.715 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004967/0.3859, allocations: 175.8 kB / 1.317 GB, free: 3.543 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3859, allocations: 0 / 1.317 GB, free: 3.543 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.3861, allocations: 71.91 kB / 1.317 GB, free: 3.473 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.3865, allocations: 52.08 kB / 1.317 GB, free: 3.422 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.3896, allocations: 2.087 MB / 1.319 GB, free: 1.234 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3899, allocations: 0.7089 MB / 1.32 GB, free: 0.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.3901, allocations: 35.39 kB / 1.32 GB, free: 484 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.878e-05/0.3902, allocations: 43.41 kB / 1.32 GB, free: 440 kB / 1.014 GB Notification: Performance of SimCode: time 7.72e-07/0.3902, allocations: 0 / 1.32 GB, free: 440 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.422, allocations: 6.111 MB / 1.326 GB, free: 10.54 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.365/8.787, allocations: 7.641 kB / 1.326 GB, free: 10.54 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.465634117368609]