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.001359/0.001359, allocations: 82.64 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.001013/0.001013, 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 1.018/1.018, 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.91/1.91, allocations: 377.9 MB / 0.624 GB, free: 8.406 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.493e-06/1.493e-06, allocations: 0 / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.659e-05, allocations: 2.875 kB / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.002676/0.002693, allocations: 2.768 MB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002961/0.005654, allocations: 2.76 MB / 0.8174 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.005841, allocations: 13.41 kB / 0.8174 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.006893, allocations: 494.9 kB / 0.8178 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.007316, allocations: 310.7 kB / 0.8181 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006676/0.007984, allocations: 410 kB / 0.8185 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001213/0.009197, allocations: 1.549 MB / 0.82 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.009341, allocations: 74.34 kB / 0.8201 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006592/0.01, allocations: 0.6044 MB / 0.8207 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004668/0.01047, allocations: 413.5 kB / 0.8211 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.409e-05/0.01053, allocations: 48 kB / 0.8211 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.01064, allocations: 59.98 kB / 0.8212 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.01085, allocations: 307.2 kB / 0.8215 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.01103, allocations: 239.5 kB / 0.8217 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006564/0.01169, allocations: 0.616 MB / 0.8223 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.01169, allocations: 0 / 0.8223 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.01169, allocations: 3.438 kB / 0.8223 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.01171, allocations: 0 / 0.8223 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.001441/0.01315, allocations: 1.128 MB / 0.8234 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.01319, allocations: 16.02 kB / 0.8234 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.01337, allocations: 96.42 kB / 0.8235 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.01393, allocations: 0.5193 MB / 0.824 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.01395, allocations: 28.88 kB / 0.8241 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.014, allocations: 36.38 kB / 0.8241 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.01427, allocations: 240.6 kB / 0.8243 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.01428, allocations: 192 / 0.8243 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.0143, allocations: 17.47 kB / 0.8243 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.01431, allocations: 4 kB / 0.8244 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.439e-05/0.0144, allocations: 72 kB / 0.8244 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.01588, allocations: 1.53 MB / 0.8259 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.01632, allocations: 236 kB / 0.8261 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.01638, allocations: 51.64 kB / 0.8262 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.01639, allocations: 5.125 kB / 0.8262 GB, free: 2.742 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.01641, allocations: 33.39 kB / 0.8262 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.01641, allocations: 0 / 0.8262 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0003917/0.0168, allocations: 232.5 kB / 0.8264 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.01683, allocations: 56.53 kB / 0.8265 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.01743, allocations: 0.7997 MB / 0.8273 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.01746, allocations: 37.7 kB / 0.8273 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.01769, allocations: 416.6 kB / 0.8277 GB, free: 1.129 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.01774, allocations: 75.36 kB / 0.8278 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.01787, allocations: 155.9 kB / 0.8279 GB, free: 0.8906 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.01807, allocations: 0.6059 MB / 0.8285 GB, free: 280 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.01813, allocations: 41.27 kB / 0.8286 GB, free: 240 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.01837, allocations: 454 kB / 0.829 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.01873, allocations: 0.5425 MB / 0.8295 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01873, allocations: 0 / 0.8295 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004736/0.01921, allocations: 458.4 kB / 0.83 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.01922, allocations: 12 kB / 0.83 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.01923, allocations: 11.94 kB / 0.83 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.01938, allocations: 40.06 kB / 0.83 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.01986, allocations: 123.8 kB / 0.8301 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007351/0.02059, allocations: 1.74 MB / 0.8318 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.02085, allocations: 55.56 kB / 0.8319 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.02087, allocations: 27.98 kB / 0.8319 GB, free: 12.33 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.0001262/0.021, allocations: 204.4 kB / 0.8321 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.02106, allocations: 63.58 kB / 0.8322 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.02111, allocations: 57.86 kB / 0.8322 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.02111, allocations: 7.984 kB / 0.8322 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.02111, allocations: 0 / 0.8322 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.02112, allocations: 0 / 0.8322 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.02143, allocations: 364.8 kB / 0.8326 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.02143, allocations: 4 kB / 0.8326 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.02153, allocations: 39.97 kB / 0.8326 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.34e-05/0.02163, allocations: 31.66 kB / 0.8327 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.02164, allocations: 8 kB / 0.8327 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005993/0.02224, allocations: 1.717 MB / 0.8343 GB, free: 9.688 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.02224, allocations: 8.109 kB / 0.8344 GB, free: 9.68 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.02253, allocations: 377.3 kB / 0.8347 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.02264, allocations: 103.5 kB / 0.8348 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.02268, allocations: 8 kB / 0.8348 GB, free: 9.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.02282, allocations: 11.92 kB / 0.8348 GB, free: 9.168 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.02285, allocations: 11.98 kB / 0.8348 GB, free: 9.156 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.02286, allocations: 7.984 kB / 0.8349 GB, free: 9.148 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003082/0.02317, allocations: 446.8 kB / 0.8353 GB, free: 8.715 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.02317, allocations: 0 / 0.8353 GB, free: 8.715 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003795/0.02355, allocations: 183.8 kB / 0.8355 GB, free: 8.535 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 8.925e-05/0.02364, allocations: 111.2 kB / 0.8356 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003716/0.02401, allocations: 395.4 kB / 0.8359 GB, free: 8.012 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.02401, allocations: 0 / 0.8359 GB, free: 8.012 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.02418, allocations: 225.4 kB / 0.8361 GB, free: 7.77 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.02482, allocations: 167.8 kB / 0.8363 GB, free: 7.609 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.02647, allocations: 1.158 MB / 0.8374 GB, free: 6.414 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.02659, allocations: 193.1 kB / 0.8376 GB, free: 6.203 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001558/0.02675, allocations: 68.64 kB / 0.8377 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.027, allocations: 202.1 kB / 0.8379 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of SimCode: time 7.51e-07/0.027, allocations: 0 / 0.8379 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of Templates: time 0.01148/0.03848, allocations: 9.346 MB / 0.847 GB, free: 12.79 MB / 0.8073 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.194739017635584]