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.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.001387/0.001387, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001388/0.001388, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.268/1.268, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.458/2.458, allocations: 476.7 MB / 0.7628 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 71.88 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7446/0.7464, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002683/0.749, allocations: 2.054 MB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.751, allocations: 1.684 MB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.824e-05/0.751, allocations: 1.781 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.413e-05/0.7511, allocations: 18.33 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.775e-05/0.7512, allocations: 53.86 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000859/0.752, allocations: 358.6 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.7522, allocations: 215.2 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.7524, allocations: 41.19 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.7525, allocations: 76.8 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.7526, allocations: 92.05 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.7526, allocations: 18.62 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007706/0.7534, allocations: 420.3 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.455e-05/0.7534, allocations: 45.66 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.014e-05/0.7535, allocations: 89.44 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.7541, allocations: 429.6 kB / 1.277 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.7541, allocations: 0 / 1.277 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7541, allocations: 0.9062 kB / 1.277 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.7541, allocations: 0 / 1.277 GB, free: 4.328 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.0006701/0.7548, allocations: 0.5219 MB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.7548, allocations: 13.06 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.7548, allocations: 52.25 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005346/0.7554, allocations: 89.95 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.409e-05/0.7555, allocations: 178.3 kB / 1.278 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/0.7555, allocations: 54.64 kB / 1.278 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.7555, allocations: 13.91 kB / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.7559, allocations: 186.3 kB / 1.278 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.046e-06/0.7559, allocations: 0 / 1.278 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.7559, allocations: 6.188 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.7559, allocations: 7.25 kB / 1.278 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.7564, allocations: 177.4 kB / 1.278 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.7574, allocations: 0.9158 MB / 1.279 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.7579, allocations: 160.6 kB / 1.279 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.758, allocations: 70.17 kB / 1.279 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/0.7585, allocations: 0.5198 MB / 1.28 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.7585, allocations: 33.02 kB / 1.28 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.143e-06/0.7585, allocations: 0 / 1.28 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0006649/0.7592, allocations: 243.1 kB / 1.28 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.689e-05/0.7592, allocations: 52.47 kB / 1.28 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.7593, allocations: 162 kB / 1.28 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.7593, allocations: 31.42 kB / 1.28 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.7594, allocations: 114.4 kB / 1.28 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.7594, allocations: 57.73 kB / 1.28 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.7595, allocations: 39.09 kB / 1.28 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.905e-05/0.7595, allocations: 322.3 kB / 1.281 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.7597, allocations: 75.75 kB / 1.281 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.7599, allocations: 96.12 kB / 1.281 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.7603, allocations: 152.3 kB / 1.281 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7603, allocations: 5.062 kB / 1.281 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004774/0.7608, allocations: 214.3 kB / 1.281 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.7608, allocations: 9.562 kB / 1.281 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7608, allocations: 0.75 kB / 1.281 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.7608, allocations: 1.734 kB / 1.281 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.761, allocations: 39.89 kB / 1.281 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.7611, allocations: 4.828 kB / 1.281 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.7612, allocations: 28.92 kB / 1.281 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.7612, allocations: 5.859 kB / 1.281 GB, free: 0.7695 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 7.774e-05/0.7613, allocations: 128.9 kB / 1.281 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.7614, allocations: 20.48 kB / 1.281 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/0.7619, allocations: 193.3 kB / 1.282 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7619, allocations: 1.531 kB / 1.282 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.7619, allocations: 0.7969 kB / 1.282 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7619, allocations: 0.7031 kB / 1.282 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.7632, allocations: 0.9877 MB / 1.283 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.7632, allocations: 0.6094 kB / 1.283 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.7634, allocations: 32.22 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.7634, allocations: 6.297 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.7634, allocations: 2.75 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.7634, allocations: 0.875 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7634, allocations: 5.906 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.7639, allocations: 293.8 kB / 1.283 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.7639, allocations: 85.91 kB / 1.283 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.764, allocations: 15.3 kB / 1.283 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.7642, allocations: 13.64 kB / 1.283 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.7642, allocations: 11.95 kB / 1.283 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.7642, allocations: 9.688 kB / 1.283 GB, free: 15.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.431e-05/0.7643, allocations: 119.6 kB / 1.283 GB, free: 15.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.7643, allocations: 0 / 1.283 GB, free: 15.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004473/0.7648, allocations: 127.1 kB / 1.283 GB, free: 15.17 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.001094/0.7659, allocations: 0.9552 MB / 1.284 GB, free: 14.39 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004665/0.7663, allocations: 162.3 kB / 1.284 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7663, allocations: 6.469 kB / 1.284 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.7665, allocations: 75.3 kB / 1.284 GB, free: 14.31 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.7669, allocations: 39.34 kB / 1.284 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.7697, allocations: 2.075 MB / 1.287 GB, free: 12.72 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.77, allocations: 0.7125 MB / 1.287 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.7701, allocations: 24.16 kB / 1.287 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.7702, allocations: 45.19 kB / 1.287 GB, free: 11.99 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/0.7702, allocations: 0 / 1.287 GB, free: 11.99 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.7983, allocations: 6.081 MB / 1.293 GB, free: 11.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.134/7.932, allocations: 2.141 kB / 1.293 GB, free: 11.25 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 13.107891940999252]