Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.001349/0.001349, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001543/0.001543, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9593/0.9593, allocations: 177.2 MB / 204.2 MB, free: 5.598 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.896/1.896, allocations: 377.8 MB / 0.6236 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 177] 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.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.761e-05, allocations: 8.641 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003276/0.003304, allocations: 2.797 MB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003299/0.006603, allocations: 2.807 MB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.006903, allocations: 15.88 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.008151, allocations: 489.9 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005306/0.008681, allocations: 305.7 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008951/0.009576, allocations: 419.9 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.0109, allocations: 1.542 MB / 0.8197 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.0111, allocations: 79.34 kB / 0.8197 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009041/0.01201, allocations: 0.5966 MB / 0.8203 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005584/0.01256, allocations: 413.4 kB / 0.8207 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-05/0.01266, allocations: 48 kB / 0.8208 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.01281, allocations: 63.92 kB / 0.8208 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.01304, allocations: 303.2 kB / 0.8211 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.01327, allocations: 251.4 kB / 0.8213 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006289/0.0139, allocations: 0.5996 MB / 0.8219 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.01391, allocations: 0.8125 kB / 0.8219 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.653e-06/0.01391, allocations: 0 / 0.8219 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.01392, allocations: 0.9375 kB / 0.8219 GB, free: 7.059 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001455/0.01538, allocations: 1.235 MB / 0.8231 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.01541, allocations: 8.031 kB / 0.8231 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.01564, allocations: 109.4 kB / 0.8232 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/0.01623, allocations: 0.5387 MB / 0.8238 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.01626, allocations: 36.81 kB / 0.8238 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.01631, allocations: 36.38 kB / 0.8238 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.01661, allocations: 252.3 kB / 0.8241 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.01662, allocations: 1.812 kB / 0.8241 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.01665, allocations: 12.12 kB / 0.8241 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.01665, allocations: 4 kB / 0.8241 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.01679, allocations: 88.06 kB / 0.8242 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.0184, allocations: 1.798 MB / 0.8259 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.01891, allocations: 255.1 kB / 0.8262 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.567e-05/0.01898, allocations: 56.53 kB / 0.8262 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.01899, allocations: 4 kB / 0.8262 GB, free: 2.477 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.01902, allocations: 41.98 kB / 0.8263 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 2.205e-06/0.01902, allocations: 0 / 0.8263 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.000479/0.0195, allocations: 253.2 kB / 0.8265 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.01953, allocations: 55.34 kB / 0.8266 GB, free: 2.105 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/0.02021, allocations: 0.8236 MB / 0.8274 GB, free: 1.266 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.02024, allocations: 37.7 kB / 0.8274 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.02047, allocations: 403.5 kB / 0.8278 GB, free: 0.8242 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.02052, allocations: 75.36 kB / 0.8279 GB, free: 0.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.02066, allocations: 156 kB / 0.828 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.02086, allocations: 0.5977 MB / 0.8286 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.02096, allocations: 49.27 kB / 0.8287 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.02124, allocations: 465.3 kB / 0.8291 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.02167, allocations: 0.5595 MB / 0.8296 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.02168, allocations: 0 / 0.8296 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005775/0.02225, allocations: 482.6 kB / 0.8301 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.02227, allocations: 8.156 kB / 0.8301 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.02228, allocations: 12 kB / 0.8301 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.0225, allocations: 47.64 kB / 0.8302 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.02276, allocations: 139.7 kB / 0.8303 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009029/0.02366, allocations: 1.775 MB / 0.832 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.02404, allocations: 127.4 kB / 0.8322 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.02406, allocations: 28 kB / 0.8322 GB, free: 11.83 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.02419, allocations: 184.4 kB / 0.8324 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.02426, allocations: 71.58 kB / 0.8324 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/0.02432, allocations: 57.86 kB / 0.8325 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.02432, allocations: 0 / 0.8325 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.02432, allocations: 64 / 0.8325 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.02433, allocations: 11.92 kB / 0.8325 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.02475, allocations: 496.3 kB / 0.833 GB, free: 10.97 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.02475, allocations: 3.938 kB / 0.833 GB, free: 10.97 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.02488, allocations: 43.95 kB / 0.833 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/0.02501, allocations: 43.64 kB / 0.8331 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.02503, allocations: 4 kB / 0.8331 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007483/0.02578, allocations: 1.76 MB / 0.8348 GB, free: 8.996 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.02578, allocations: 3.984 kB / 0.8348 GB, free: 8.992 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.02612, allocations: 388.2 kB / 0.8352 GB, free: 8.59 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.02627, allocations: 123.5 kB / 0.8353 GB, free: 8.469 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.02632, allocations: 8 kB / 0.8353 GB, free: 8.461 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.02651, allocations: 48.11 kB / 0.8353 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.02656, allocations: 15.97 kB / 0.8353 GB, free: 8.398 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.02657, allocations: 4 kB / 0.8353 GB, free: 8.395 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004041/0.02697, allocations: 479 kB / 0.8358 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.02697, allocations: 0 / 0.8358 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000426/0.0274, allocations: 179.8 kB / 0.836 GB, free: 7.754 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001091/0.02751, allocations: 111.2 kB / 0.8361 GB, free: 7.633 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004849/0.02799, allocations: 411.6 kB / 0.8365 GB, free: 7.215 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02799, allocations: 0.875 kB / 0.8365 GB, free: 7.215 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.02815, allocations: 247.3 kB / 0.8367 GB, free: 6.953 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/0.02866, allocations: 158 kB / 0.8369 GB, free: 6.805 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.03018, allocations: 1.154 MB / 0.838 GB, free: 5.613 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.03032, allocations: 193.2 kB / 0.8382 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002355/0.03056, allocations: 144.5 kB / 0.8383 GB, free: 5.258 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.703e-05/0.03065, allocations: 36.5 kB / 0.8383 GB, free: 5.223 MB / 0.7917 GB Notification: Performance of SimCode: time 1.132e-06/0.03065, allocations: 4 kB / 0.8383 GB, free: 5.219 MB / 0.7917 GB Notification: Performance of Templates: time 0.01142/0.04207, allocations: 9.142 MB / 0.8473 GB, free: 12.28 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.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.267832514829934]