Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 161.3 kB / 23.54 MB, free: 0.8633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 177.2 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.924/2.924, allocations: 377.8 MB / 0.6232 GB, free: 8.484 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.857e-05/4.09e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.004697/0.004737, allocations: 1.992 MB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003481/0.008218, allocations: 1.518 MB / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.008295, allocations: 0 / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.008472, allocations: 24.34 kB / 0.8143 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.008623, allocations: 48.92 kB / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.01007, allocations: 373 kB / 0.8147 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.01041, allocations: 227 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.01061, allocations: 41.64 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.01082, allocations: 116.4 kB / 0.815 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.01099, allocations: 71.83 kB / 0.8151 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.819e-05/0.01104, allocations: 20.72 kB / 0.8151 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009376/0.01197, allocations: 409.5 kB / 0.8155 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.01204, allocations: 39.89 kB / 0.8156 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.01215, allocations: 71.83 kB / 0.8156 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008758/0.01302, allocations: 494.5 kB / 0.8161 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01303, allocations: 0.5 kB / 0.8161 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.312e-06/0.01303, allocations: 0 / 0.8161 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.01304, allocations: 0.5938 kB / 0.8161 GB, free: 12.67 MB / 0.7761 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.001142/0.01418, allocations: 451.2 kB / 0.8165 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.01424, allocations: 12.02 kB / 0.8165 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007182/0.01496, allocations: 104.7 kB / 0.8166 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.01513, allocations: 121.6 kB / 0.8168 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.01529, allocations: 71.97 kB / 0.8168 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.01533, allocations: 17.22 kB / 0.8168 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000586/0.01592, allocations: 253.1 kB / 0.8171 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.01593, allocations: 8.062 kB / 0.8171 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.01596, allocations: 8.375 kB / 0.8171 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.01598, allocations: 8.125 kB / 0.8171 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.01636, allocations: 130.7 kB / 0.8172 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.01823, allocations: 0.5835 MB / 0.8178 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.02049, allocations: 327.8 kB / 0.8181 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.02074, allocations: 80.5 kB / 0.8182 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005455/0.02128, allocations: 75.92 kB / 0.8183 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.02133, allocations: 34.56 kB / 0.8183 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.02133, allocations: 1.562 kB / 0.8183 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.002014/0.02334, allocations: 399.1 kB / 0.8187 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.0234, allocations: 51.69 kB / 0.8187 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.02356, allocations: 130 kB / 0.8188 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.0236, allocations: 30.42 kB / 0.8189 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.02373, allocations: 124.4 kB / 0.819 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/0.02379, allocations: 54.17 kB / 0.819 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.02389, allocations: 41.7 kB / 0.8191 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.02412, allocations: 318.8 kB / 0.8194 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.02437, allocations: 79.95 kB / 0.8195 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.02461, allocations: 85.84 kB / 0.8195 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/0.0251, allocations: 159 kB / 0.8197 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.0251, allocations: 0.5938 kB / 0.8197 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001067/0.02617, allocations: 298.5 kB / 0.82 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.02619, allocations: 4 kB / 0.82 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.0262, allocations: 4 kB / 0.82 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006797/0.02688, allocations: 127.7 kB / 0.8201 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.0281, allocations: 95.95 kB / 0.8202 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.02918, allocations: 0.6304 MB / 0.8208 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.02939, allocations: 27.86 kB / 0.8208 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.02941, allocations: 4 kB / 0.8209 GB, free: 7.605 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.02956, allocations: 129.8 kB / 0.821 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/0.02963, allocations: 15.95 kB / 0.821 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.03065, allocations: 281.6 kB / 0.8213 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.03066, allocations: 8.078 kB / 0.8213 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.03067, allocations: 7.984 kB / 0.8213 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.03068, allocations: 0 / 0.8213 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.03272, allocations: 0.6486 MB / 0.8219 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.03273, allocations: 0 / 0.8219 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.03393, allocations: 95.97 kB / 0.822 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/0.03449, allocations: 127.9 kB / 0.8221 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.03451, allocations: 4 kB / 0.8221 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.03553, allocations: 0.6304 MB / 0.8227 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.03553, allocations: 4 kB / 0.8227 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.03659, allocations: 363.5 kB / 0.8231 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.03661, allocations: 15.83 kB / 0.8231 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.03666, allocations: 8 kB / 0.8231 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.0369, allocations: 15.92 kB / 0.8231 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.03696, allocations: 15.97 kB / 0.8231 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.03698, allocations: 8 kB / 0.8232 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.612e-05/0.03708, allocations: 99.27 kB / 0.8232 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.03708, allocations: 0 / 0.8232 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005826/0.03766, allocations: 127.6 kB / 0.8234 GB, free: 4.91 MB / 0.7761 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005961/0.03826, allocations: 246.6 kB / 0.8236 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.03929, allocations: 228.9 kB / 0.8238 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.03929, allocations: 4 kB / 0.8238 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006611/0.03995, allocations: 128.4 kB / 0.8239 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.04041, allocations: 35.97 kB / 0.824 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.04148, allocations: 349.2 kB / 0.8243 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.04161, allocations: 99.08 kB / 0.8244 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.04173, allocations: 20.64 kB / 0.8244 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.0418, allocations: 12.5 kB / 0.8244 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.0418, allocations: 0 / 0.8244 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of Templates: time 0.01158/0.05338, allocations: 4.519 MB / 0.8289 GB, free: 15.32 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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: 8.568752586957999]