Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 92.16 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.000363, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6681/0.6684, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002056/0.6705, allocations: 1.687 MB / 0.9561 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.6727, allocations: 1.55 MB / 0.9576 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.6729, allocations: 1.031 kB / 0.9576 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.706e-05/0.673, allocations: 17.97 kB / 0.9576 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.6731, allocations: 38.22 kB / 0.9577 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.6742, allocations: 271.2 kB / 0.9579 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.6745, allocations: 205.2 kB / 0.9581 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.6746, allocations: 35.19 kB / 0.9581 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.6747, allocations: 67.69 kB / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.6749, allocations: 84.88 kB / 0.9583 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.6749, allocations: 9.312 kB / 0.9583 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007687/0.6757, allocations: 377.1 kB / 0.9587 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.6757, allocations: 37.33 kB / 0.9587 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.6758, allocations: 51.52 kB / 0.9587 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.6762, allocations: 311.7 kB / 0.959 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6762, allocations: 1.375 kB / 0.959 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/0.6762, allocations: 0 / 0.959 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.6762, allocations: 4 kB / 0.959 GB, free: 4.266 MB / 0.7169 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.0006447/0.6769, allocations: 0.4919 MB / 0.9595 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.6769, allocations: 12.19 kB / 0.9595 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005126/0.6774, allocations: 104.8 kB / 0.9596 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.6775, allocations: 172.8 kB / 0.9598 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.588e-05/0.6776, allocations: 53.5 kB / 0.9598 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.6776, allocations: 17.67 kB / 0.9599 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.678, allocations: 184.3 kB / 0.96 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.6781, allocations: 0 / 0.96 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.6781, allocations: 5.969 kB / 0.96 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.6781, allocations: 3.125 kB / 0.9601 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.6786, allocations: 197.2 kB / 0.9602 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.6799, allocations: 0.9136 MB / 0.9611 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/0.6804, allocations: 182.5 kB / 0.9613 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.6806, allocations: 84.23 kB / 0.9614 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005346/0.6811, allocations: 0.5202 MB / 0.9619 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.6811, allocations: 36.61 kB / 0.9619 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.6812, allocations: 0 / 0.9619 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0007608/0.6819, allocations: 247.8 kB / 0.9622 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.682, allocations: 53.09 kB / 0.9622 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.6821, allocations: 163.6 kB / 0.9624 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.6822, allocations: 26.77 kB / 0.9624 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.6822, allocations: 121.9 kB / 0.9625 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.6823, allocations: 45.33 kB / 0.9626 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.6823, allocations: 4.781 kB / 0.9626 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.6824, allocations: 325.8 kB / 0.9629 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.6826, allocations: 79.38 kB / 0.9629 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.6828, allocations: 99.77 kB / 0.963 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.683, allocations: 76.14 kB / 0.9631 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.683, allocations: 0 / 0.9631 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004688/0.6834, allocations: 226 kB / 0.9633 GB, free: 492 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.6835, allocations: 6.906 kB / 0.9633 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6835, allocations: 0 / 0.9633 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6835, allocations: 1.281 kB / 0.9633 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.6838, allocations: 37.81 kB / 0.9634 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6838, allocations: 1.312 kB / 0.9634 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.684, allocations: 30.27 kB / 0.9634 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.684, allocations: 5.406 kB / 0.9634 GB, free: 464 kB / 0.7169 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.625e-05/0.6841, allocations: 139.8 kB / 0.9635 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.6842, allocations: 14.88 kB / 0.9636 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/0.6847, allocations: 205.4 kB / 0.9638 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.6847, allocations: 1.281 kB / 0.9638 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6847, allocations: 1.188 kB / 0.9638 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6847, allocations: 0 / 0.9638 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.6861, allocations: 0.9955 MB / 0.9647 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6861, allocations: 5.219 kB / 0.9647 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.6863, allocations: 28.23 kB / 0.9648 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.6863, allocations: 5.219 kB / 0.9648 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.6863, allocations: 10.41 kB / 0.9648 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.6864, allocations: 1.062 kB / 0.9648 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.6864, allocations: 1.562 kB / 0.9648 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.6868, allocations: 303.9 kB / 0.9651 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.687, allocations: 93.09 kB / 0.9652 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.687, allocations: 2.562 kB / 0.9652 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.6872, allocations: 16.58 kB / 0.9652 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.6873, allocations: 14.33 kB / 0.9652 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.6873, allocations: 7.297 kB / 0.9652 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.22e-05/0.6874, allocations: 126.5 kB / 0.9653 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6874, allocations: 0 / 0.9653 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005228/0.6879, allocations: 130.7 kB / 0.9654 GB, free: 14.66 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005143/0.6884, allocations: 232.5 kB / 0.9657 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004815/0.6889, allocations: 193.9 kB / 0.9658 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6889, allocations: 0 / 0.9658 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.6891, allocations: 81.28 kB / 0.9659 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.6896, allocations: 43.86 kB / 0.966 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009093/0.6905, allocations: 399.9 kB / 0.9663 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.6909, allocations: 0.7068 MB / 0.967 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001964/0.6911, allocations: 27.58 kB / 0.9671 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.58e-05/0.6912, allocations: 20.86 kB / 0.9671 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.6912, allocations: 4.969 kB / 0.9671 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.01015/0.7013, allocations: 4.053 MB / 0.971 GB, free: 11.3 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches