Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.0009497/0.0009497, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001612/0.001612, allocations: 181.3 kB / 24.09 MB, free: 420 kB / 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 0.9948/0.9948, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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 1.799/1.799, allocations: 377.9 MB / 0.624 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] 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,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") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.606e-05, allocations: 3.188 kB / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003144/0.00317, allocations: 2.087 MB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.005085, allocations: 1.448 MB / 0.8155 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.193e-05/0.005157, allocations: 1.656 kB / 0.8155 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.347e-05/0.00521, allocations: 19.8 kB / 0.8155 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.66e-05/0.005307, allocations: 51.48 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009801/0.006287, allocations: 342.4 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.0065, allocations: 238.9 kB / 0.8161 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.006632, allocations: 33.64 kB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.006785, allocations: 123.8 kB / 0.8162 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.006909, allocations: 67.78 kB / 0.8163 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.006939, allocations: 22.28 kB / 0.8163 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006429/0.007582, allocations: 355.5 kB / 0.8167 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.00763, allocations: 43.83 kB / 0.8167 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.675e-05/0.007697, allocations: 63.89 kB / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.008184, allocations: 395.5 kB / 0.8171 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.008188, allocations: 0 / 0.8171 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.52e-07/0.008188, allocations: 0.5312 kB / 0.8171 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.008193, allocations: 4 kB / 0.8171 GB, free: 12.22 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.0005754/0.008768, allocations: 0.5441 MB / 0.8177 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.008807, allocations: 12.66 kB / 0.8177 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/0.00909, allocations: 91.34 kB / 0.8178 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.549e-05/0.009186, allocations: 141.2 kB / 0.8179 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.849e-05/0.009254, allocations: 71.95 kB / 0.818 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.009277, allocations: 18.03 kB / 0.818 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.009499, allocations: 203.6 kB / 0.8182 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.009507, allocations: 4.125 kB / 0.8182 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.009521, allocations: 4.375 kB / 0.8182 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.009529, allocations: 9 kB / 0.8182 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.013e-05/0.009609, allocations: 56.55 kB / 0.8183 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007822/0.01039, allocations: 0.5778 MB / 0.8188 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.01102, allocations: 209.6 kB / 0.819 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.01107, allocations: 44.73 kB / 0.8191 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001983/0.01127, allocations: 66.5 kB / 0.8191 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.01129, allocations: 37.39 kB / 0.8192 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.01129, allocations: 3.984 kB / 0.8192 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0006175/0.01191, allocations: 242.3 kB / 0.8194 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.01194, allocations: 56 kB / 0.8194 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.01202, allocations: 186.3 kB / 0.8196 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.01204, allocations: 29.7 kB / 0.8197 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.01211, allocations: 171.7 kB / 0.8198 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.01214, allocations: 56.11 kB / 0.8199 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.01219, allocations: 43.34 kB / 0.8199 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.01232, allocations: 0.4956 MB / 0.8204 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.773e-05/0.01237, allocations: 35.97 kB / 0.8204 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.666e-05/0.01241, allocations: 33.88 kB / 0.8205 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.01255, allocations: 89.31 kB / 0.8205 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01255, allocations: 0 / 0.8205 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002954/0.01285, allocations: 191.2 kB / 0.8207 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.01286, allocations: 8 kB / 0.8207 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01287, allocations: 0 / 0.8207 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.01311, allocations: 80.42 kB / 0.8208 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.01363, allocations: 104.1 kB / 0.8209 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004545/0.01408, allocations: 0.8195 MB / 0.8217 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.507e-05/0.01416, allocations: 17.44 kB / 0.8217 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.01417, allocations: 7.938 kB / 0.8217 GB, free: 7.277 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 8.392e-05/0.01425, allocations: 168.5 kB / 0.8219 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.01428, allocations: 23.91 kB / 0.8219 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.01462, allocations: 178.9 kB / 0.8221 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.01463, allocations: 4 kB / 0.8221 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01463, allocations: 7.922 kB / 0.8221 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01463, allocations: 0 / 0.8221 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007208/0.01535, allocations: 0.5553 MB / 0.8226 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.01536, allocations: 4 kB / 0.8226 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004872/0.01585, allocations: 96.02 kB / 0.8227 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001948/0.01604, allocations: 90.73 kB / 0.8228 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01605, allocations: 4 kB / 0.8228 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004597/0.01651, allocations: 0.8195 MB / 0.8236 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.01651, allocations: 4 kB / 0.8236 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.01682, allocations: 330.6 kB / 0.8239 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.01683, allocations: 7.953 kB / 0.824 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.01685, allocations: 0 / 0.824 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.01692, allocations: 15.98 kB / 0.824 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.01695, allocations: 12.11 kB / 0.824 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.01696, allocations: 4 kB / 0.824 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.017, allocations: 139.2 kB / 0.8241 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.017, allocations: 0 / 0.8241 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003201/0.01732, allocations: 131.5 kB / 0.8242 GB, free: 4.574 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.0003234/0.01764, allocations: 250.6 kB / 0.8245 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.01794, allocations: 148.4 kB / 0.8246 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01794, allocations: 0 / 0.8246 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.0181, allocations: 84.06 kB / 0.8247 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.01832, allocations: 48.02 kB / 0.8248 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.01894, allocations: 317.7 kB / 0.8251 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.581e-05/0.01899, allocations: 72.08 kB / 0.8251 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.767e-05/0.01905, allocations: 13.16 kB / 0.8251 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.01916, allocations: 118.2 kB / 0.8252 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of SimCode: time 9.62e-07/0.01916, allocations: 0 / 0.8252 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.006619/0.02578, allocations: 5.056 MB / 0.8302 GB, free: 14.49 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.014023992232978]