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.0009247/0.0009247, allocations: 81.86 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.001037/0.001037, allocations: 181 kB / 24.09 MB, free: 416 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.9405/0.9405, 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.782/1.782, allocations: 377.9 MB / 0.624 GB, free: 8.43 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_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 1.623e-06/1.623e-06, allocations: 0 / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.421e-05/3.584e-05, allocations: 6.25 kB / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002425/0.002461, allocations: 2.102 MB / 0.8141 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.003953, allocations: 1.438 MB / 0.8155 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.004011, allocations: 1.969 kB / 0.8155 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.878e-05/0.004059, allocations: 23.78 kB / 0.8155 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.837e-05/0.004138, allocations: 47.55 kB / 0.8155 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.004864, allocations: 352.5 kB / 0.8159 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.005035, allocations: 219.6 kB / 0.8161 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.005149, allocations: 43.08 kB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.00526, allocations: 127.8 kB / 0.8162 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.005356, allocations: 63.8 kB / 0.8163 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.005381, allocations: 20 kB / 0.8163 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004422/0.005824, allocations: 361.3 kB / 0.8167 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.005856, allocations: 39.89 kB / 0.8167 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.0059, allocations: 63.89 kB / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.006298, allocations: 399.9 kB / 0.8171 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.006301, allocations: 4 kB / 0.8171 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.006302, allocations: 0 / 0.8171 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.006305, allocations: 0.9062 kB / 0.8171 GB, free: 12.21 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.0005073/0.006812, allocations: 0.5393 MB / 0.8177 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.006844, allocations: 13.25 kB / 0.8177 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.007112, allocations: 90.94 kB / 0.8178 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.362e-05/0.007185, allocations: 125.6 kB / 0.8179 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.763e-05/0.007243, allocations: 75.95 kB / 0.818 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.007263, allocations: 16.38 kB / 0.818 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.007461, allocations: 205.4 kB / 0.8182 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.007469, allocations: 192 / 0.8182 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.007482, allocations: 4.375 kB / 0.8182 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.007489, allocations: 8.125 kB / 0.8182 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.516e-05/0.007564, allocations: 63 kB / 0.8182 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007047/0.008269, allocations: 0.5795 MB / 0.8188 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005972/0.008866, allocations: 205.3 kB / 0.819 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.008918, allocations: 44.45 kB / 0.8191 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.009097, allocations: 72.34 kB / 0.8191 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.00912, allocations: 41.38 kB / 0.8192 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.009121, allocations: 0 / 0.8192 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.000543/0.009664, allocations: 238.6 kB / 0.8194 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.009686, allocations: 51.41 kB / 0.8194 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.009762, allocations: 189.8 kB / 0.8196 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.009779, allocations: 29.7 kB / 0.8196 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.009841, allocations: 179 kB / 0.8198 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.009875, allocations: 55.52 kB / 0.8199 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.009923, allocations: 40.36 kB / 0.8199 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.01003, allocations: 0.5 MB / 0.8204 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.375e-05/0.01007, allocations: 31.98 kB / 0.8204 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.497e-05/0.01012, allocations: 39.09 kB / 0.8205 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.406e-05/0.01021, allocations: 83.61 kB / 0.8205 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01021, allocations: 1.094 kB / 0.8205 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002725/0.01049, allocations: 191.6 kB / 0.8207 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.0105, allocations: 8.969 kB / 0.8207 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.0105, allocations: 4 kB / 0.8207 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000202/0.0107, allocations: 82.98 kB / 0.8208 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.0112, allocations: 98.73 kB / 0.8209 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003425/0.01155, allocations: 0.8248 MB / 0.8217 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.339e-05/0.01161, allocations: 19.89 kB / 0.8217 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.01162, allocations: 4.625 kB / 0.8217 GB, free: 7.273 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 7.568e-05/0.0117, allocations: 168.6 kB / 0.8219 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.01172, allocations: 15.91 kB / 0.8219 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.01203, allocations: 187.8 kB / 0.8221 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01203, allocations: 7.984 kB / 0.8221 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01203, allocations: 3.938 kB / 0.8221 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.01203, allocations: 0 / 0.8221 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/0.0127, allocations: 0.5514 MB / 0.8226 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.0127, allocations: 4 kB / 0.8227 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.01322, allocations: 96.02 kB / 0.8227 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001856/0.0134, allocations: 90.73 kB / 0.8228 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.01342, allocations: 7.984 kB / 0.8228 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003133/0.01373, allocations: 0.8117 MB / 0.8236 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01373, allocations: 8 kB / 0.8236 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.01403, allocations: 330.6 kB / 0.824 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.01404, allocations: 7.953 kB / 0.824 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.01406, allocations: 8 kB / 0.824 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.01414, allocations: 11.98 kB / 0.824 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.01416, allocations: 19.91 kB / 0.824 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.01417, allocations: 4 kB / 0.824 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.01421, allocations: 139.2 kB / 0.8241 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01421, allocations: 0 / 0.8241 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002607/0.01447, allocations: 131.5 kB / 0.8243 GB, free: 4.562 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.0002742/0.01474, allocations: 238.8 kB / 0.8245 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002739/0.01502, allocations: 148.4 kB / 0.8246 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01502, allocations: 0 / 0.8246 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.01517, allocations: 92.17 kB / 0.8247 GB, free: 4.078 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.01537, allocations: 27.97 kB / 0.8247 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006078/0.01598, allocations: 344.4 kB / 0.8251 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.01602, allocations: 72.03 kB / 0.8251 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.749e-05/0.01607, allocations: 24.59 kB / 0.8252 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/0.01617, allocations: 106.2 kB / 0.8253 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/0.01617, allocations: 0 / 0.8253 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of Templates: time 0.006007/0.02218, allocations: 5.064 MB / 0.8302 GB, free: 14.48 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.963249702937901]