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.0009559/0.0009559, 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.0009013/0.0009013, allocations: 181 kB / 24.09 MB, free: 420 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.041/1.041, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.888/1.888, allocations: 377.9 MB / 0.6239 GB, free: 8.41 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.733e-06/1.733e-06, allocations: 0.9844 kB / 0.8119 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.134e-05, allocations: 6.25 kB / 0.8119 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003452/0.003484, allocations: 2.856 MB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002512/0.005996, allocations: 2.183 MB / 0.8169 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.006295, allocations: 19.81 kB / 0.8169 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.007393, allocations: 395.8 kB / 0.8173 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004682/0.007861, allocations: 309.4 kB / 0.8176 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/0.008523, allocations: 366.1 kB / 0.8179 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.009805, allocations: 1.689 MB / 0.8196 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.009983, allocations: 72.12 kB / 0.8196 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008788/0.01086, allocations: 0.7799 MB / 0.8204 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005407/0.0114, allocations: 498.9 kB / 0.8209 GB, free: 8.371 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.038e-05/0.01149, allocations: 69.17 kB / 0.8209 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.0116, allocations: 67.94 kB / 0.821 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003236/0.01192, allocations: 470.8 kB / 0.8214 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003194/0.01224, allocations: 362.4 kB / 0.8218 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006312/0.01287, allocations: 0.8449 MB / 0.8226 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.01288, allocations: 0 / 0.8226 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.273e-06/0.01288, allocations: 0 / 0.8226 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.01289, allocations: 0 / 0.8226 GB, free: 6.578 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.001535/0.01443, allocations: 1.475 MB / 0.8241 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.01447, allocations: 12.03 kB / 0.8241 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.01462, allocations: 144.2 kB / 0.8242 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007029/0.01533, allocations: 0.695 MB / 0.8249 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.01535, allocations: 37.97 kB / 0.8249 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.01541, allocations: 48.38 kB / 0.825 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.01571, allocations: 340.3 kB / 0.8253 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.01573, allocations: 5.25 kB / 0.8253 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.01575, allocations: 11.94 kB / 0.8253 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.01576, allocations: 8 kB / 0.8253 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.01587, allocations: 98.62 kB / 0.8254 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.01755, allocations: 2.442 MB / 0.8278 GB, free: 1.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/0.01825, allocations: 416.9 kB / 0.8282 GB, free: 0.6562 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.794e-05/0.01831, allocations: 55.66 kB / 0.8282 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.01832, allocations: 5.188 kB / 0.8282 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.01835, allocations: 41.39 kB / 0.8283 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 1.163e-06/0.01835, allocations: 0 / 0.8283 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26): time 0.0004667/0.01881, allocations: 308.1 kB / 0.8286 GB, free: 244 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.01884, allocations: 55.41 kB / 0.8286 GB, free: 176 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008624/0.0197, allocations: 1.126 MB / 0.8297 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.01973, allocations: 37.7 kB / 0.8298 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.02004, allocations: 0.5427 MB / 0.8303 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-05/0.02014, allocations: 127 kB / 0.8304 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.02028, allocations: 184.6 kB / 0.8306 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.02041, allocations: 0.5238 MB / 0.8311 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.168e-05/0.02048, allocations: 57.27 kB / 0.8312 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.02074, allocations: 0.5132 MB / 0.8317 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.02117, allocations: 0.6476 MB / 0.8323 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.02118, allocations: 4 kB / 0.8323 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007191/0.0219, allocations: 0.6561 MB / 0.8329 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.02191, allocations: 12 kB / 0.833 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.02192, allocations: 8 kB / 0.833 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009341/0.02286, allocations: 345.2 kB / 0.8333 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.02302, allocations: 111.8 kB / 0.8334 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.02515, allocations: 2.911 MB / 0.8362 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.02554, allocations: 71.45 kB / 0.8363 GB, free: 7.75 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.02556, allocations: 28 kB / 0.8363 GB, free: 7.723 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.0001373/0.0257, allocations: 204.3 kB / 0.8365 GB, free: 7.512 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.0258, allocations: 103.3 kB / 0.8366 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.02587, allocations: 84.8 kB / 0.8367 GB, free: 7.32 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.02587, allocations: 4.031 kB / 0.8367 GB, free: 7.316 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.02587, allocations: 4 kB / 0.8367 GB, free: 7.312 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.02588, allocations: 3.984 kB / 0.8367 GB, free: 7.309 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.02633, allocations: 0.5247 MB / 0.8372 GB, free: 6.758 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.02633, allocations: 0 / 0.8372 GB, free: 6.758 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.02651, allocations: 67.89 kB / 0.8373 GB, free: 6.691 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.02662, allocations: 35.66 kB / 0.8373 GB, free: 6.652 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.02664, allocations: 15.98 kB / 0.8373 GB, free: 6.637 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006524/0.02729, allocations: 1.725 MB / 0.839 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02729, allocations: 0 / 0.839 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.02767, allocations: 467.5 kB / 0.8395 GB, free: 4.32 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.02787, allocations: 179.3 kB / 0.8396 GB, free: 4.145 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.02793, allocations: 19.98 kB / 0.8397 GB, free: 4.125 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.02815, allocations: 7.938 kB / 0.8397 GB, free: 4.117 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.02819, allocations: 15.97 kB / 0.8397 GB, free: 4.102 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.0282, allocations: 15.97 kB / 0.8397 GB, free: 4.086 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004428/0.02865, allocations: 0.603 MB / 0.8403 GB, free: 3.473 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.02865, allocations: 0 / 0.8403 GB, free: 3.473 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006524/0.0293, allocations: 463.8 kB / 0.8407 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 0.0001039/0.0294, allocations: 122.2 kB / 0.8409 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0007109/0.03011, allocations: 0.6542 MB / 0.8415 GB, free: 2.223 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.03011, allocations: 4.062 kB / 0.8415 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.03028, allocations: 253.4 kB / 0.8417 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.03098, allocations: 260 kB / 0.842 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.03278, allocations: 1.692 MB / 0.8436 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.03296, allocations: 258.4 kB / 0.8439 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002236/0.03319, allocations: 90.69 kB / 0.844 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003869/0.03357, allocations: 298 kB / 0.8443 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.03358, allocations: 4 kB / 0.8443 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of Templates: time 0.02058/0.05416, allocations: 17.53 MB / 0.8614 GB, free: 14.14 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.361209474969655]