Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001701/0.001701, allocations: 106 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.002009/0.002009, 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.524/1.524, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 443.5 MB / 0.7287 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 1.056 GB, free: 2.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3107, allocations: 160.7 MB / 1.213 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00366/0.3143, allocations: 2.057 MB / 1.215 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.317, allocations: 1.656 MB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.198e-05/0.3171, allocations: 8 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.818e-05/0.3172, allocations: 23.78 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.3173, allocations: 51.55 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.3184, allocations: 358.8 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.3186, allocations: 219.1 kB / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3188, allocations: 33.77 kB / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.3189, allocations: 87.75 kB / 1.217 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.3191, allocations: 83.69 kB / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.3191, allocations: 20 kB / 1.217 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008167/0.3199, allocations: 419.5 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.3199, allocations: 39.91 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.94e-05/0.32, allocations: 83.66 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000655/0.3207, allocations: 438.6 kB / 1.218 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3207, allocations: 4 kB / 1.218 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3207, allocations: 0 / 1.218 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3207, allocations: 0 / 1.218 GB, free: 11.83 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008768/0.3216, allocations: 0.5218 MB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3216, allocations: 8.031 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/0.3217, allocations: 50.73 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005639/0.3222, allocations: 88.78 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.3224, allocations: 176.2 kB / 1.219 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.076e-05/0.3225, allocations: 54.19 kB / 1.219 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.3225, allocations: 20.38 kB / 1.219 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.3229, allocations: 186.6 kB / 1.219 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.323, allocations: 0 / 1.219 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.323, allocations: 4 kB / 1.219 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.323, allocations: 4 kB / 1.219 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.3234, allocations: 183.8 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.3249, allocations: 0.9189 MB / 1.22 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.3254, allocations: 162.6 kB / 1.221 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.3255, allocations: 68.81 kB / 1.221 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006858/0.3262, allocations: 0.522 MB / 1.221 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.3263, allocations: 38.56 kB / 1.221 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.203e-06/0.3263, allocations: 3.938 kB / 1.221 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0006905/0.327, allocations: 237.5 kB / 1.221 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.327, allocations: 55.39 kB / 1.222 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.3271, allocations: 158.5 kB / 1.222 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.3272, allocations: 29.7 kB / 1.222 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.3272, allocations: 127.6 kB / 1.222 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.3273, allocations: 47.64 kB / 1.222 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.3274, allocations: 37.66 kB / 1.222 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3275, allocations: 326.8 kB / 1.222 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.3277, allocations: 71.95 kB / 1.222 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.3279, allocations: 95.73 kB / 1.222 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.3283, allocations: 153.5 kB / 1.223 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3283, allocations: 4 kB / 1.223 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000495/0.3288, allocations: 219.7 kB / 1.223 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3288, allocations: 6.031 kB / 1.223 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3288, allocations: 4 kB / 1.223 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3288, allocations: 0 / 1.223 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.3291, allocations: 39.91 kB / 1.223 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3291, allocations: 0 / 1.223 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.3293, allocations: 27.88 kB / 1.223 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.3293, allocations: 7.938 kB / 1.223 GB, free: 6.797 MB / 0.9669 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.0001201/0.3294, allocations: 129.7 kB / 1.223 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.3294, allocations: 15.91 kB / 1.223 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/0.3299, allocations: 190.4 kB / 1.223 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.33, allocations: 0 / 1.223 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.33, allocations: 4 kB / 1.223 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.33, allocations: 4 kB / 1.223 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.3314, allocations: 0.9856 MB / 1.224 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3314, allocations: 0 / 1.224 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.3316, allocations: 23.98 kB / 1.224 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3316, allocations: 4 kB / 1.224 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.3317, allocations: 7.984 kB / 1.224 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3317, allocations: 4 kB / 1.224 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3317, allocations: 0 / 1.224 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.3322, allocations: 293 kB / 1.224 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.3322, allocations: 93.02 kB / 1.225 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.3323, allocations: 4 kB / 1.225 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.3325, allocations: 15.97 kB / 1.225 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.3325, allocations: 19.92 kB / 1.225 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.3325, allocations: 4 kB / 1.225 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.053e-05/0.3326, allocations: 116.9 kB / 1.225 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3326, allocations: 4 kB / 1.225 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004564/0.3331, allocations: 135.5 kB / 1.225 GB, free: 4.555 MB / 0.9669 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.001129/0.3342, allocations: 0.9476 MB / 1.226 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004694/0.3347, allocations: 163.8 kB / 1.226 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3347, allocations: 0 / 1.226 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.3349, allocations: 75.89 kB / 1.226 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.3353, allocations: 48.09 kB / 1.226 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.3383, allocations: 2.08 MB / 1.228 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.3386, allocations: 0.7047 MB / 1.229 GB, free: 396 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001442/0.3388, allocations: 32.41 kB / 1.229 GB, free: 368 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/0.3389, allocations: 39.42 kB / 1.229 GB, free: 328 kB / 0.9669 GB Notification: Performance of SimCode: time 3.8e-07/0.3389, allocations: 0 / 1.229 GB, free: 328 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.3701, allocations: 6.086 MB / 1.235 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.678, allocations: 7.922 kB / 1.235 GB, free: 10.41 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.729086701758206]