Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.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.0009346/0.0009346, 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.001036/0.001036, allocations: 166.5 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.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.893/1.893, allocations: 377.9 MB / 0.6247 GB, free: 8.395 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.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conS1.T.[0-9,]+.|conS1.Q_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conS1.T.[0-9,]+.|conS1.Q_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.8127 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.513e-05, allocations: 3.219 kB / 0.8127 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.002817/0.002832, allocations: 2.85 MB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002617/0.00545, allocations: 2.178 MB / 0.8176 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.005672, allocations: 20.34 kB / 0.8177 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000983/0.006655, allocations: 391.3 kB / 0.818 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.007035, allocations: 312.5 kB / 0.8183 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006597/0.007694, allocations: 370.9 kB / 0.8187 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.008977, allocations: 1.682 MB / 0.8203 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.009164, allocations: 66.62 kB / 0.8204 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009013/0.01007, allocations: 0.7849 MB / 0.8212 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006584/0.01072, allocations: 0.4949 MB / 0.8216 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.911e-05/0.01082, allocations: 64 kB / 0.8217 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.712e-05/0.01092, allocations: 69.31 kB / 0.8218 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.01125, allocations: 470.8 kB / 0.8222 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003109/0.01156, allocations: 363.2 kB / 0.8226 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006606/0.01222, allocations: 0.8425 MB / 0.8234 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.01222, allocations: 0 / 0.8234 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.01222, allocations: 0 / 0.8234 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.01224, allocations: 0 / 0.8234 GB, free: 6.566 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001828/0.01406, allocations: 1.474 MB / 0.8248 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.0141, allocations: 8.656 kB / 0.8248 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.01426, allocations: 144.2 kB / 0.825 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007125/0.01497, allocations: 0.702 MB / 0.8257 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.015, allocations: 37.03 kB / 0.8257 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.01505, allocations: 44.38 kB / 0.8257 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.01537, allocations: 344.3 kB / 0.8261 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.01538, allocations: 192 / 0.8261 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.01541, allocations: 15.94 kB / 0.8261 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.01541, allocations: 8.938 kB / 0.8261 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.01554, allocations: 101.5 kB / 0.8262 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.0173, allocations: 2.438 MB / 0.8286 GB, free: 1.059 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.01803, allocations: 414.8 kB / 0.829 GB, free: 0.6445 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.644e-05/0.0181, allocations: 55.66 kB / 0.829 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.01811, allocations: 4 kB / 0.829 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.01813, allocations: 37.39 kB / 0.829 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 1.282e-06/0.01813, allocations: 1.5 kB / 0.8291 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26): time 0.0004853/0.01862, allocations: 303.4 kB / 0.8293 GB, free: 236 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.01864, allocations: 58.16 kB / 0.8294 GB, free: 168 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008621/0.0195, allocations: 1.126 MB / 0.8305 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.01953, allocations: 41.7 kB / 0.8305 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.01985, allocations: 0.5427 MB / 0.8311 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.959e-05/0.01994, allocations: 123 kB / 0.8312 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.02008, allocations: 187.9 kB / 0.8314 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.02022, allocations: 0.5238 MB / 0.8319 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.527e-05/0.02029, allocations: 53.98 kB / 0.8319 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.02057, allocations: 0.5172 MB / 0.8324 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.021, allocations: 0.6437 MB / 0.8331 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.02101, allocations: 4 kB / 0.8331 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007621/0.02177, allocations: 0.66 MB / 0.8337 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.02179, allocations: 12 kB / 0.8337 GB, free: 11.28 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.0218, allocations: 8 kB / 0.8337 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009987/0.02279, allocations: 345.2 kB / 0.8341 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.02296, allocations: 111.8 kB / 0.8342 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.02517, allocations: 2.907 MB / 0.837 GB, free: 7.812 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/0.0256, allocations: 75.47 kB / 0.8371 GB, free: 7.738 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.02562, allocations: 24 kB / 0.8371 GB, free: 7.715 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (61): * Single equations (assignments): 60 * 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,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.02577, allocations: 204.3 kB / 0.8373 GB, free: 7.504 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-05/0.02587, allocations: 103.3 kB / 0.8374 GB, free: 7.402 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.773e-05/0.02595, allocations: 88.8 kB / 0.8375 GB, free: 7.312 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.02595, allocations: 0 / 0.8375 GB, free: 7.312 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.02595, allocations: 4 kB / 0.8375 GB, free: 7.309 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.02596, allocations: 4.016 kB / 0.8375 GB, free: 7.305 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.02644, allocations: 0.5287 MB / 0.838 GB, free: 6.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02644, allocations: 3.984 kB / 0.838 GB, free: 6.746 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.02664, allocations: 63.91 kB / 0.8381 GB, free: 6.684 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.02674, allocations: 31.66 kB / 0.8381 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.02677, allocations: 11.98 kB / 0.8381 GB, free: 6.637 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006706/0.02744, allocations: 1.728 MB / 0.8398 GB, free: 4.797 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.02744, allocations: 0 / 0.8398 GB, free: 4.797 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.02783, allocations: 467.5 kB / 0.8402 GB, free: 4.316 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.02804, allocations: 175.2 kB / 0.8404 GB, free: 4.145 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.02811, allocations: 19.98 kB / 0.8404 GB, free: 4.125 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.02836, allocations: 8.125 kB / 0.8404 GB, free: 4.117 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.0284, allocations: 15.97 kB / 0.8404 GB, free: 4.102 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.02841, allocations: 11.98 kB / 0.8405 GB, free: 4.09 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004757/0.02889, allocations: 0.603 MB / 0.841 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4e-08/0.02889, allocations: 0 / 0.841 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006849/0.02957, allocations: 467.7 kB / 0.8415 GB, free: 3.02 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * 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 (25): * Single equations (assignments): 24 * 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.839e-05/0.02967, allocations: 119.2 kB / 0.8416 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0007384/0.03041, allocations: 0.6533 MB / 0.8422 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.03041, allocations: 0.75 kB / 0.8422 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.03057, allocations: 257.4 kB / 0.8425 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006914/0.03126, allocations: 269.6 kB / 0.8427 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.03301, allocations: 1.689 MB / 0.8444 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.03318, allocations: 254.4 kB / 0.8446 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.0334, allocations: 98.67 kB / 0.8447 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/0.0338, allocations: 298 kB / 0.845 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.0338, allocations: 0 / 0.845 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of Templates: time 0.0191/0.0529, allocations: 17.83 MB / 0.8624 GB, free: 13.83 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorInitialization.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.536641601007432]