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.001654/0.001654, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001981/0.001981, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.319/2.319, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6078/0.6092, allocations: 140.4 MB / 0.9491 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003144/0.6124, allocations: 2.08 MB / 0.9511 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.6146, allocations: 1.651 MB / 0.9527 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.6148, allocations: 1.438 kB / 0.9527 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.411e-05/0.6148, allocations: 9.172 kB / 0.9527 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.615, allocations: 53.83 kB / 0.9528 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.6161, allocations: 315.5 kB / 0.9531 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.6164, allocations: 218.4 kB / 0.9533 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.6165, allocations: 60.3 kB / 0.9534 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.6167, allocations: 77.34 kB / 0.9534 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.6168, allocations: 92.28 kB / 0.9535 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.6169, allocations: 18.22 kB / 0.9535 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007735/0.6177, allocations: 409.7 kB / 0.9539 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.6177, allocations: 42.66 kB / 0.954 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.823e-05/0.6178, allocations: 95.98 kB / 0.9541 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006225/0.6185, allocations: 429.9 kB / 0.9545 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6185, allocations: 0 / 0.9545 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6185, allocations: 1.438 kB / 0.9545 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.6185, allocations: 0 / 0.9545 GB, free: 5.434 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.0008139/0.6193, allocations: 0.515 MB / 0.955 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6194, allocations: 9.312 kB / 0.955 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005927/0.62, allocations: 98.23 kB / 0.9551 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.6201, allocations: 176.5 kB / 0.9553 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.791e-05/0.6202, allocations: 50.94 kB / 0.9553 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.6202, allocations: 13.59 kB / 0.9553 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.6206, allocations: 191.7 kB / 0.9555 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6206, allocations: 3.938 kB / 0.9555 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.6207, allocations: 5.812 kB / 0.9555 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.6207, allocations: 3.5 kB / 0.9555 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.6211, allocations: 182.1 kB / 0.9557 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.6223, allocations: 0.9101 MB / 0.9566 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.6228, allocations: 179.7 kB / 0.9567 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.623, allocations: 77.8 kB / 0.9568 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005381/0.6235, allocations: 0.5199 MB / 0.9573 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.6236, allocations: 31.69 kB / 0.9574 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.6236, allocations: 0 / 0.9574 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0006923/0.6243, allocations: 239.4 kB / 0.9576 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.6243, allocations: 57.66 kB / 0.9576 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.6244, allocations: 153.6 kB / 0.9578 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.6245, allocations: 31.92 kB / 0.9578 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.6245, allocations: 121.1 kB / 0.9579 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.6246, allocations: 45.77 kB / 0.958 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.6246, allocations: 42.08 kB / 0.958 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.6247, allocations: 325.9 kB / 0.9583 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.6249, allocations: 76.66 kB / 0.9584 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.6251, allocations: 96.8 kB / 0.9585 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.6254, allocations: 144.6 kB / 0.9586 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.6254, allocations: 3.938 kB / 0.9586 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000456/0.6259, allocations: 211.8 kB / 0.9588 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.6259, allocations: 7.688 kB / 0.9588 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6259, allocations: 1.062 kB / 0.9588 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.626, allocations: 1.219 kB / 0.9588 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.6262, allocations: 40.28 kB / 0.9589 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.6262, allocations: 1.062 kB / 0.9589 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.6264, allocations: 32.67 kB / 0.9589 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.6265, allocations: 8.578 kB / 0.9589 GB, free: 1.52 MB / 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 (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 8.726e-05/0.6265, allocations: 131.1 kB / 0.9591 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.6266, allocations: 11.22 kB / 0.9591 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.6271, allocations: 202.7 kB / 0.9593 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.6271, allocations: 2.25 kB / 0.9593 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6271, allocations: 0 / 0.9593 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6271, allocations: 0 / 0.9593 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.6283, allocations: 0.9821 MB / 0.9602 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6284, allocations: 0.7188 kB / 0.9602 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.6286, allocations: 37.22 kB / 0.9603 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.6286, allocations: 1.688 kB / 0.9603 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.6286, allocations: 1.969 kB / 0.9603 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6286, allocations: 2.188 kB / 0.9603 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6286, allocations: 8.047 kB / 0.9603 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.6291, allocations: 295.8 kB / 0.9605 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.701e-05/0.6291, allocations: 89.5 kB / 0.9606 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.6292, allocations: 6.156 kB / 0.9606 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.6294, allocations: 15.27 kB / 0.9607 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.6295, allocations: 17.14 kB / 0.9607 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.6295, allocations: 5.031 kB / 0.9607 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.167e-05/0.6296, allocations: 121.9 kB / 0.9608 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6296, allocations: 1.312 kB / 0.9608 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005035/0.6301, allocations: 126 kB / 0.9609 GB, free: 15.75 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 (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.0005185/0.6306, allocations: 226.3 kB / 0.9611 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005091/0.6312, allocations: 191.6 kB / 0.9613 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6312, allocations: 0 / 0.9613 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.6314, allocations: 83.62 kB / 0.9614 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.6318, allocations: 53.81 kB / 0.9614 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007922/0.6326, allocations: 382.5 kB / 0.9618 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.6329, allocations: 0.7126 MB / 0.9625 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.6331, allocations: 28.2 kB / 0.9625 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.242e-05/0.6332, allocations: 23.16 kB / 0.9626 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.6332, allocations: 0 / 0.9626 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of Templates: time 0.01052/0.6437, allocations: 4.251 MB / 0.9667 GB, free: 12.29 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