Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.0009576/0.0009576, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.00109/0.00109, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.863/1.863, allocations: 377.9 MB / 0.6247 GB, free: 8.367 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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8127 GB, free: 360 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.626e-05, allocations: 2.312 kB / 0.8127 GB, free: 356 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.002753/0.002769, allocations: 2.767 MB / 0.8154 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002815/0.005584, allocations: 2.765 MB / 0.8181 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.005781, allocations: 11.88 kB / 0.8181 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009411/0.006722, allocations: 496.4 kB / 0.8186 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.007143, allocations: 304.3 kB / 0.8189 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.007819, allocations: 421.9 kB / 0.8193 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001213/0.009032, allocations: 1.543 MB / 0.8208 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.009168, allocations: 72.61 kB / 0.8209 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006915/0.00986, allocations: 0.6004 MB / 0.8215 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004523/0.01031, allocations: 415 kB / 0.8219 GB, free: 6.988 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.01037, allocations: 45.19 kB / 0.8219 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.01048, allocations: 63.98 kB / 0.822 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.01069, allocations: 303.2 kB / 0.8223 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.01089, allocations: 248 kB / 0.8225 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.01137, allocations: 0.6082 MB / 0.8231 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.01137, allocations: 0 / 0.8231 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.11e-07/0.01138, allocations: 1.656 kB / 0.8231 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.01138, allocations: 4 kB / 0.8231 GB, free: 5.73 MB / 0.7292 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.001083/0.01247, allocations: 1.137 MB / 0.8242 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.366e-05/0.01249, allocations: 8.031 kB / 0.8242 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.01265, allocations: 105.2 kB / 0.8243 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.01312, allocations: 0.5115 MB / 0.8248 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.01314, allocations: 28.88 kB / 0.8248 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.01318, allocations: 36.38 kB / 0.8249 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.0134, allocations: 232.3 kB / 0.8251 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.01341, allocations: 4.125 kB / 0.8251 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.01343, allocations: 12.62 kB / 0.8251 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.01344, allocations: 9.625 kB / 0.8251 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.517e-05/0.01352, allocations: 67.38 kB / 0.8252 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.01471, allocations: 1.533 MB / 0.8267 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.01512, allocations: 242.5 kB / 0.8269 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.01517, allocations: 47.64 kB / 0.827 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.01518, allocations: 4 kB / 0.827 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.0152, allocations: 37.39 kB / 0.827 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.022e-06/0.0152, allocations: 0 / 0.827 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0003545/0.01556, allocations: 231.6 kB / 0.8272 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.01558, allocations: 51.41 kB / 0.8273 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/0.01616, allocations: 0.8087 MB / 0.8281 GB, free: 460 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.01618, allocations: 33.7 kB / 0.8281 GB, free: 420 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.0164, allocations: 411.4 kB / 0.8285 GB, free: 4 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.01646, allocations: 72.45 kB / 0.8285 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.01658, allocations: 155.9 kB / 0.8287 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.01677, allocations: 0.6093 MB / 0.8293 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.908e-05/0.01684, allocations: 42.39 kB / 0.8293 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.01708, allocations: 453.3 kB / 0.8298 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.01745, allocations: 0.5435 MB / 0.8303 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.01745, allocations: 4 kB / 0.8303 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004602/0.01791, allocations: 451.4 kB / 0.8307 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.01792, allocations: 16.12 kB / 0.8307 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01793, allocations: 8 kB / 0.8307 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/0.01806, allocations: 43.66 kB / 0.8308 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.01828, allocations: 115.8 kB / 0.8309 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006961/0.01898, allocations: 1.74 MB / 0.8326 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.01926, allocations: 63.56 kB / 0.8327 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.01928, allocations: 20 kB / 0.8327 GB, free: 11.21 MB / 0.7448 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.0001223/0.0194, allocations: 204.2 kB / 0.8329 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.01947, allocations: 71.58 kB / 0.8329 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.01953, allocations: 57.86 kB / 0.833 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01953, allocations: 4 kB / 0.833 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01953, allocations: 4.062 kB / 0.833 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01954, allocations: 3.984 kB / 0.833 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.01986, allocations: 360.8 kB / 0.8334 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01986, allocations: 0 / 0.8334 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.01997, allocations: 35.97 kB / 0.8334 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.192e-05/0.02006, allocations: 31.59 kB / 0.8334 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.02008, allocations: 8 kB / 0.8334 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006451/0.02072, allocations: 1.728 MB / 0.8351 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.02072, allocations: 0 / 0.8351 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.02103, allocations: 380.8 kB / 0.8355 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.02116, allocations: 95.53 kB / 0.8356 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.0212, allocations: 8.125 kB / 0.8356 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.02136, allocations: 15.92 kB / 0.8356 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.0214, allocations: 15.97 kB / 0.8356 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.02141, allocations: 4 kB / 0.8356 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003474/0.02176, allocations: 446.8 kB / 0.836 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02176, allocations: 0 / 0.836 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000417/0.02217, allocations: 191.8 kB / 0.8362 GB, free: 7.406 MB / 0.7448 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 8.666e-05/0.02226, allocations: 103.2 kB / 0.8363 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.02261, allocations: 400.2 kB / 0.8367 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.02261, allocations: 0 / 0.8367 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.02274, allocations: 233.6 kB / 0.8369 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.02321, allocations: 162.2 kB / 0.8371 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.02451, allocations: 1.152 MB / 0.8382 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.02464, allocations: 193.2 kB / 0.8384 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001629/0.0248, allocations: 68.58 kB / 0.8385 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.02506, allocations: 202.1 kB / 0.8386 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of SimCode: time 9.22e-07/0.02506, allocations: 4 kB / 0.8386 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of Templates: time 0.01073/0.03579, allocations: 9.508 MB / 0.8479 GB, free: 11.54 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.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.3251834041439]