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.001008/0.001008, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001548/0.001548, allocations: 160.8 kB / 24.87 MB, free: 8.875 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.9915/0.9915, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.861/1.861, allocations: 377.9 MB / 0.6247 GB, free: 8.375 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.483e-06/1.483e-06, allocations: 0 / 0.8127 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.204e-05, allocations: 12.02 kB / 0.8127 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004454/0.004476, allocations: 2.766 MB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002975/0.007451, allocations: 2.769 MB / 0.8181 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.007651, allocations: 11.88 kB / 0.8182 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.008739, allocations: 491.4 kB / 0.8186 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004599/0.009199, allocations: 305.7 kB / 0.8189 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.00988, allocations: 413.8 kB / 0.8193 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.01103, allocations: 1.547 MB / 0.8208 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.01117, allocations: 70.36 kB / 0.8209 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00059/0.01176, allocations: 0.6083 MB / 0.8215 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004559/0.01222, allocations: 414.4 kB / 0.8219 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.01228, allocations: 48 kB / 0.8219 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.01238, allocations: 52 kB / 0.822 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.0126, allocations: 307.2 kB / 0.8223 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.01278, allocations: 251.4 kB / 0.8225 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007908/0.01358, allocations: 0.6113 MB / 0.8231 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.01358, allocations: 0 / 0.8231 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.91e-07/0.01358, allocations: 0 / 0.8231 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.01359, allocations: 1.031 kB / 0.8231 GB, free: 6.863 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.001156/0.01474, allocations: 1.126 MB / 0.8242 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.01477, allocations: 12.03 kB / 0.8242 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.01491, allocations: 104.4 kB / 0.8243 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.01539, allocations: 0.5113 MB / 0.8248 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.01541, allocations: 29.91 kB / 0.8248 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.01545, allocations: 44.31 kB / 0.8249 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.01567, allocations: 235.7 kB / 0.8251 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.01568, allocations: 1.312 kB / 0.8251 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.01569, allocations: 12.12 kB / 0.8251 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.0157, allocations: 4 kB / 0.8251 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.01578, allocations: 72.39 kB / 0.8252 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.01704, allocations: 1.534 MB / 0.8267 GB, free: 3.047 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.01746, allocations: 240.1 kB / 0.8269 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.01751, allocations: 39.67 kB / 0.827 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.01752, allocations: 7.406 kB / 0.827 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.01754, allocations: 41.38 kB / 0.827 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.01754, allocations: 0 / 0.827 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0003506/0.01789, allocations: 225 kB / 0.8272 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.01792, allocations: 55.41 kB / 0.8273 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.0185, allocations: 0.8075 MB / 0.8281 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.01852, allocations: 37.7 kB / 0.8281 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.01875, allocations: 412.2 kB / 0.8285 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.0188, allocations: 79.34 kB / 0.8286 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.01892, allocations: 167.8 kB / 0.8287 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000407/0.01933, allocations: 0.6015 MB / 0.8293 GB, free: 272 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.516e-05/0.01939, allocations: 37.28 kB / 0.8293 GB, free: 236 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.01963, allocations: 457.2 kB / 0.8298 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.01996, allocations: 0.5397 MB / 0.8303 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.01996, allocations: 0 / 0.8303 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004604/0.02042, allocations: 455.2 kB / 0.8307 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.02044, allocations: 15.98 kB / 0.8308 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.02045, allocations: 8 kB / 0.8308 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.02059, allocations: 44.2 kB / 0.8308 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.02082, allocations: 123.8 kB / 0.8309 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006988/0.02151, allocations: 1.732 MB / 0.8326 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.02177, allocations: 59.56 kB / 0.8327 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.0218, allocations: 27.98 kB / 0.8327 GB, free: 12.32 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.0001186/0.02192, allocations: 200.4 kB / 0.8329 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.02199, allocations: 67.58 kB / 0.833 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.02204, allocations: 57.86 kB / 0.833 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.02205, allocations: 4 kB / 0.833 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.02205, allocations: 0 / 0.833 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.02205, allocations: 3.984 kB / 0.833 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.02236, allocations: 360.8 kB / 0.8334 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.02236, allocations: 0 / 0.8334 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.02248, allocations: 39.97 kB / 0.8334 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.186e-05/0.02257, allocations: 31.67 kB / 0.8334 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.02258, allocations: 7.984 kB / 0.8334 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006106/0.02319, allocations: 1.729 MB / 0.8351 GB, free: 9.672 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.0232, allocations: 0 / 0.8351 GB, free: 9.672 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.02347, allocations: 372.3 kB / 0.8355 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.02359, allocations: 103.5 kB / 0.8356 GB, free: 9.184 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.02364, allocations: 11.98 kB / 0.8356 GB, free: 9.172 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.02379, allocations: 11.94 kB / 0.8356 GB, free: 9.16 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.02382, allocations: 11.97 kB / 0.8356 GB, free: 9.148 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.02383, allocations: 4 kB / 0.8356 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005342/0.02436, allocations: 446.8 kB / 0.836 GB, free: 8.711 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.02436, allocations: 0 / 0.836 GB, free: 8.711 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000367/0.02473, allocations: 187.9 kB / 0.8362 GB, free: 8.527 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 8e-05/0.02481, allocations: 115.1 kB / 0.8363 GB, free: 8.402 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003515/0.02516, allocations: 395.8 kB / 0.8367 GB, free: 8 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-06/0.02516, allocations: 0 / 0.8367 GB, free: 8 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.02529, allocations: 231.5 kB / 0.8369 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.02574, allocations: 166.5 kB / 0.8371 GB, free: 7.598 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.02696, allocations: 1.15 MB / 0.8382 GB, free: 6.41 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.02707, allocations: 197.2 kB / 0.8384 GB, free: 6.195 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.0272, allocations: 64.66 kB / 0.8385 GB, free: 6.129 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.02745, allocations: 206.1 kB / 0.8387 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of SimCode: time 5.51e-07/0.02745, allocations: 0 / 0.8387 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of Templates: time 0.01084/0.0383, allocations: 9.492 MB / 0.8479 GB, free: 12.65 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.1764641758054495]