Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.001414/0.001414, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001018/0.001018, allocations: 161 kB / 23.82 MB, free: 0.7461 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.002/1.002, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.906/1.906, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.607e-05, allocations: 4.844 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003324/0.00335, allocations: 2.801 MB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003196/0.006547, allocations: 2.804 MB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.006704, allocations: 11.88 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.007908, allocations: 492.3 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004578/0.008366, allocations: 301 kB / 0.8177 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006583/0.009024, allocations: 421.7 kB / 0.8181 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.0105, allocations: 1.543 MB / 0.8196 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.01065, allocations: 70.36 kB / 0.8197 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006283/0.01128, allocations: 0.6057 MB / 0.8203 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004461/0.01173, allocations: 403.1 kB / 0.8207 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.707e-05/0.01179, allocations: 51.94 kB / 0.8207 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.01191, allocations: 53.69 kB / 0.8208 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.01214, allocations: 307.2 kB / 0.8211 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.01233, allocations: 251.4 kB / 0.8213 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.01285, allocations: 0.5996 MB / 0.8219 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.01285, allocations: 2.656 kB / 0.8219 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01285, allocations: 0 / 0.8219 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.01286, allocations: 4 kB / 0.8219 GB, free: 7.094 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.001298/0.01416, allocations: 1.234 MB / 0.8231 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.01419, allocations: 8.031 kB / 0.8231 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.01436, allocations: 105.1 kB / 0.8232 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/0.01496, allocations: 0.5469 MB / 0.8238 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.01498, allocations: 28.88 kB / 0.8238 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.01504, allocations: 36.38 kB / 0.8238 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.01533, allocations: 254.2 kB / 0.8241 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.01534, allocations: 192 / 0.8241 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.01536, allocations: 16.12 kB / 0.8241 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.01537, allocations: 4 kB / 0.8241 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.01551, allocations: 86.81 kB / 0.8242 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.01708, allocations: 1.798 MB / 0.8259 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.01779, allocations: 254.7 kB / 0.8262 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.792e-05/0.01787, allocations: 55.66 kB / 0.8262 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.01788, allocations: 0 / 0.8262 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.0179, allocations: 41.39 kB / 0.8263 GB, free: 2.469 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.0179, allocations: 0 / 0.8263 GB, free: 2.469 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0004821/0.01838, allocations: 263.1 kB / 0.8265 GB, free: 2.203 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.01841, allocations: 53.06 kB / 0.8266 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/0.01912, allocations: 0.8197 MB / 0.8274 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.01914, allocations: 37.7 kB / 0.8274 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.01938, allocations: 403.5 kB / 0.8278 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.631e-05/0.01944, allocations: 79.36 kB / 0.8279 GB, free: 0.7852 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.01957, allocations: 148.5 kB / 0.828 GB, free: 0.6289 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.01977, allocations: 0.599 MB / 0.8286 GB, free: 20 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.01989, allocations: 53.27 kB / 0.8286 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.02017, allocations: 469.3 kB / 0.8291 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.02058, allocations: 0.5501 MB / 0.8296 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.02058, allocations: 0 / 0.8296 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005435/0.02113, allocations: 484.5 kB / 0.8301 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.02114, allocations: 8 kB / 0.8301 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.02115, allocations: 8 kB / 0.8301 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.02136, allocations: 60.14 kB / 0.8302 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.02162, allocations: 135.7 kB / 0.8303 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008096/0.02243, allocations: 1.775 MB / 0.832 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.02276, allocations: 119.4 kB / 0.8321 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.02278, allocations: 28 kB / 0.8322 GB, free: 11.88 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.0001301/0.02291, allocations: 196.5 kB / 0.8323 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.02298, allocations: 63.58 kB / 0.8324 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.02303, allocations: 61.86 kB / 0.8325 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.02303, allocations: 3.938 kB / 0.8325 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.02304, allocations: 4 kB / 0.8325 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.02304, allocations: 7.922 kB / 0.8325 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000687/0.02373, allocations: 488.3 kB / 0.8329 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.02373, allocations: 0 / 0.8329 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.02388, allocations: 47.95 kB / 0.833 GB, free: 10.97 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/0.024, allocations: 43.64 kB / 0.833 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.02402, allocations: 4 kB / 0.833 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007084/0.02473, allocations: 1.76 MB / 0.8348 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.02473, allocations: 4.031 kB / 0.8348 GB, free: 9.035 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.02506, allocations: 394.4 kB / 0.8351 GB, free: 8.629 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.0252, allocations: 115.5 kB / 0.8352 GB, free: 8.516 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.02524, allocations: 8 kB / 0.8353 GB, free: 8.508 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.02543, allocations: 43.98 kB / 0.8353 GB, free: 8.465 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.02548, allocations: 19.97 kB / 0.8353 GB, free: 8.445 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.02548, allocations: 0 / 0.8353 GB, free: 8.445 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003864/0.02587, allocations: 479 kB / 0.8358 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.02587, allocations: 0 / 0.8358 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000383/0.02625, allocations: 191.8 kB / 0.836 GB, free: 7.793 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 9.692e-05/0.02635, allocations: 103.2 kB / 0.8361 GB, free: 7.68 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.02681, allocations: 416.9 kB / 0.8365 GB, free: 7.258 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.02681, allocations: 0 / 0.8365 GB, free: 7.258 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.02697, allocations: 241.4 kB / 0.8367 GB, free: 7 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.02745, allocations: 164 kB / 0.8368 GB, free: 6.844 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.02889, allocations: 1.148 MB / 0.838 GB, free: 5.66 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.02902, allocations: 197.2 kB / 0.8381 GB, free: 5.445 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002102/0.02923, allocations: 144.5 kB / 0.8383 GB, free: 5.301 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.842e-05/0.02932, allocations: 36.5 kB / 0.8383 GB, free: 5.266 MB / 0.7917 GB Notification: Performance of SimCode: time 7.71e-07/0.02932, allocations: 0 / 0.8383 GB, free: 5.266 MB / 0.7917 GB Notification: Performance of Templates: time 0.01114/0.04046, allocations: 8.756 MB / 0.8469 GB, free: 12.71 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.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.439305539242923]