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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001151/0.001151, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001075/0.001075, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.2 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 71.47 kB / 0.8127 GB, free: 32.45 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3653, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.005272/0.3706, allocations: 2.082 MB / 0.9518 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003755/0.3744, allocations: 1.644 MB / 0.9534 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.3746, allocations: 4 kB / 0.9534 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.3747, allocations: 15.84 kB / 0.9534 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.3749, allocations: 47.67 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.3768, allocations: 315.2 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.3772, allocations: 223 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.3775, allocations: 65.22 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.3777, allocations: 75.83 kB / 0.9541 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.3779, allocations: 83.69 kB / 0.9542 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.378, allocations: 20 kB / 0.9542 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.3793, allocations: 415.4 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.739e-05/0.3794, allocations: 43.91 kB / 0.9547 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.3796, allocations: 87.66 kB / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006675/0.3802, allocations: 323.5 kB / 0.9551 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3803, allocations: 0 / 0.9551 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3803, allocations: 0 / 0.9551 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.3803, allocations: 0 / 0.9551 GB, free: 3.797 MB / 0.7325 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.001208/0.3815, allocations: 0.5108 MB / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.3816, allocations: 12.03 kB / 0.9556 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009721/0.3826, allocations: 88.66 kB / 0.9556 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.3828, allocations: 184.1 kB / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.3829, allocations: 46.25 kB / 0.9559 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.383, allocations: 24.38 kB / 0.9559 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006799/0.3837, allocations: 181.9 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3837, allocations: 3.938 kB / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.3838, allocations: 4 kB / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3838, allocations: 4 kB / 0.9561 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000739/0.3845, allocations: 179.9 kB / 0.9562 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.3866, allocations: 0.9113 MB / 0.9571 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.3873, allocations: 182.4 kB / 0.9573 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.3876, allocations: 76.83 kB / 0.9574 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.3887, allocations: 0.522 MB / 0.9579 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.3888, allocations: 30.56 kB / 0.9579 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 3.166e-06/0.3888, allocations: 0 / 0.9579 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.001204/0.39, allocations: 241.6 kB / 0.9582 GB, free: 264 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.3901, allocations: 59.41 kB / 0.9582 GB, free: 192 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.3903, allocations: 161 kB / 0.9584 GB, free: 20 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.132e-05/0.3904, allocations: 33.7 kB / 0.9584 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3906, allocations: 119.8 kB / 0.9585 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.3906, allocations: 43.36 kB / 0.9586 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.3908, allocations: 37.7 kB / 0.9586 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3909, allocations: 322.8 kB / 0.9589 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.3913, allocations: 83.89 kB / 0.959 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.3916, allocations: 91.22 kB / 0.9591 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005635/0.3922, allocations: 148 kB / 0.9592 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3922, allocations: 3.938 kB / 0.9592 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006958/0.3929, allocations: 213.5 kB / 0.9594 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.393, allocations: 4 kB / 0.9594 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.393, allocations: 4 kB / 0.9594 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.393, allocations: 0 / 0.9594 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.3934, allocations: 39.91 kB / 0.9595 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.3935, allocations: 3.984 kB / 0.9595 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.3938, allocations: 35.7 kB / 0.9595 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.3938, allocations: 8 kB / 0.9595 GB, free: 14.81 MB / 0.7481 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.0001937/0.3941, allocations: 137.7 kB / 0.9596 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-05/0.3942, allocations: 11.91 kB / 0.9596 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000887/0.3951, allocations: 194.4 kB / 0.9598 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3951, allocations: 0 / 0.9598 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3951, allocations: 0 / 0.9598 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.3951, allocations: 7.984 kB / 0.9598 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.3975, allocations: 0.9778 MB / 0.9608 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3975, allocations: 0 / 0.9608 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.3978, allocations: 31.91 kB / 0.9608 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.3979, allocations: 4 kB / 0.9608 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.3979, allocations: 0 / 0.9608 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3979, allocations: 0 / 0.9608 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.3979, allocations: 4 kB / 0.9608 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006698/0.3986, allocations: 297 kB / 0.9611 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.3987, allocations: 88.95 kB / 0.9612 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.3987, allocations: 7.984 kB / 0.9612 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.3991, allocations: 15.98 kB / 0.9612 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.3991, allocations: 23.86 kB / 0.9612 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.3992, allocations: 4 kB / 0.9612 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001504/0.3993, allocations: 121.1 kB / 0.9614 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3994, allocations: 0 / 0.9614 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007954/0.4002, allocations: 127.9 kB / 0.9615 GB, free: 12.57 MB / 0.7481 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.0008482/0.401, allocations: 227 kB / 0.9617 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008434/0.4019, allocations: 191.8 kB / 0.9619 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.4019, allocations: 0 / 0.9619 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.4023, allocations: 83.95 kB / 0.962 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.403, allocations: 42.22 kB / 0.962 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.4042, allocations: 410.4 kB / 0.9624 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.4045, allocations: 0.7086 MB / 0.9631 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.4046, allocations: 27.42 kB / 0.9631 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of SimCode: time 6.11e-07/0.4047, allocations: 0 / 0.9631 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of Templates: time 0.009827/0.4145, allocations: 3.864 MB / 0.9669 GB, free: 7 MB / 0.7481 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/jenkins1/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