Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00145/0.00145, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00182/0.001819, allocations: 195.5 kB / 16.14 MB, free: 6.691 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.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 62.5 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3529, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00339/0.3563, allocations: 2.094 MB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002536/0.3589, allocations: 1.737 MB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.513e-05/0.359, allocations: 4 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.796e-05/0.3591, allocations: 11.86 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.3592, allocations: 47.61 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008535/0.3601, allocations: 291.2 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.3603, allocations: 215.1 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3604, allocations: 49.38 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.3605, allocations: 75.77 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.3607, allocations: 79.73 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.3607, allocations: 12 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007434/0.3615, allocations: 387.5 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.3615, allocations: 39.83 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.236e-05/0.3616, allocations: 83.66 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005743/0.3622, allocations: 431.2 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3622, allocations: 0 / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.12e-07/0.3622, allocations: 0 / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3623, allocations: 0 / 1.057 GB, free: 3.312 MB / 0.8106 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.0008086/0.3631, allocations: 0.507 MB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3631, allocations: 12.03 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005827/0.3637, allocations: 84.66 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3638, allocations: 188 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.553e-05/0.3639, allocations: 54.25 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.364, allocations: 16.38 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.3644, allocations: 183 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3644, allocations: 3.938 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.3645, allocations: 4 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.3645, allocations: 4 kB / 1.059 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.365, allocations: 183.8 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.3664, allocations: 0.915 MB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.3669, allocations: 174.5 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.3671, allocations: 80.77 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006758/0.3678, allocations: 0.522 MB / 1.06 GB, free: 56 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.3678, allocations: 34.56 kB / 1.06 GB, free: 12 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.3679, allocations: 0 / 1.06 GB, free: 12 kB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.0007419/0.3686, allocations: 233.8 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.3686, allocations: 55.41 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.3688, allocations: 169.2 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3688, allocations: 25.7 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.3689, allocations: 119.7 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.369, allocations: 47.36 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.396e-05/0.369, allocations: 33.7 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3692, allocations: 326.8 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.3694, allocations: 83.83 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.3696, allocations: 91.05 kB / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.37, allocations: 151.3 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.37, allocations: 7.938 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004916/0.3705, allocations: 209.4 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3706, allocations: 4 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3706, allocations: 7.984 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3706, allocations: 0 / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.3709, allocations: 39.97 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3709, allocations: 7.938 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.3711, allocations: 27.8 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3711, allocations: 12 kB / 1.062 GB, free: 14.33 MB / 0.8262 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.0001198/0.3712, allocations: 127.3 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.3713, allocations: 11.91 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005176/0.3718, allocations: 197.5 kB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3718, allocations: 0 / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3718, allocations: 4 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3718, allocations: 7.922 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.3733, allocations: 0.9817 MB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3733, allocations: 0 / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.3735, allocations: 27.97 kB / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3735, allocations: 4 kB / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.3736, allocations: 4 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.3736, allocations: 7.938 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3736, allocations: 4.062 kB / 1.063 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005144/0.3741, allocations: 285 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.3742, allocations: 96.94 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.3742, allocations: 4 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.3744, allocations: 15.98 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.3745, allocations: 15.92 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.3745, allocations: 4 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.786e-05/0.3746, allocations: 115.2 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.733e-06/0.3746, allocations: 0 / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005287/0.3751, allocations: 131.8 kB / 1.064 GB, free: 12.1 MB / 0.8262 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.0004626/0.3756, allocations: 231 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004843/0.3761, allocations: 181.2 kB / 1.064 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3761, allocations: 0 / 1.064 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.3763, allocations: 83.89 kB / 1.064 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.3768, allocations: 44.75 kB / 1.064 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000838/0.3777, allocations: 386.1 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.378, allocations: 0.7089 MB / 1.065 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.3782, allocations: 30.42 kB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.3783, allocations: 19.42 kB / 1.066 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.3783, allocations: 0 / 1.066 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of Templates: time 0.008153/0.3864, allocations: 4.151 MB / 1.07 GB, free: 6.297 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches