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.0009827/0.0009827, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001073/0.001073, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9986/0.9986, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.842/1.842, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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 2.134e-06/2.134e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.148e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004804/0.004836, allocations: 2.79 MB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004297/0.009133, allocations: 2.802 MB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.009356, allocations: 15.88 kB / 0.817 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.0105, allocations: 487.9 kB / 0.8174 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007242/0.01123, allocations: 305 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006965/0.01193, allocations: 423.1 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.01312, allocations: 1.543 MB / 0.8196 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.01328, allocations: 76.98 kB / 0.8197 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006568/0.01394, allocations: 0.6005 MB / 0.8203 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00047/0.01441, allocations: 412.8 kB / 0.8207 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.991e-05/0.01448, allocations: 48 kB / 0.8207 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.0146, allocations: 63.92 kB / 0.8208 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.01482, allocations: 303.2 kB / 0.8211 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.01501, allocations: 243.5 kB / 0.8213 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.01553, allocations: 0.6121 MB / 0.8219 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.01553, allocations: 4 kB / 0.8219 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.623e-06/0.01554, allocations: 0.8438 kB / 0.8219 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.01554, allocations: 0 / 0.8219 GB, free: 7.102 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.001321/0.01687, allocations: 1.228 MB / 0.8231 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.0169, allocations: 12.03 kB / 0.8231 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.01708, allocations: 104.4 kB / 0.8232 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005679/0.01765, allocations: 0.5468 MB / 0.8238 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.01767, allocations: 32.81 kB / 0.8238 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.01772, allocations: 41.44 kB / 0.8238 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.01802, allocations: 251.7 kB / 0.8241 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.01803, allocations: 1.25 kB / 0.8241 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.01805, allocations: 12.12 kB / 0.8241 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.01806, allocations: 8 kB / 0.8241 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.01819, allocations: 83.92 kB / 0.8242 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.01982, allocations: 1.79 MB / 0.8259 GB, free: 2.848 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.02033, allocations: 260 kB / 0.8262 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.54e-05/0.0204, allocations: 49.02 kB / 0.8262 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.02042, allocations: 7.984 kB / 0.8262 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.02044, allocations: 41.38 kB / 0.8263 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.803e-06/0.02044, allocations: 0.9062 kB / 0.8263 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0004675/0.02091, allocations: 249.6 kB / 0.8265 GB, free: 2.219 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.02094, allocations: 56.06 kB / 0.8265 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006871/0.02163, allocations: 0.8235 MB / 0.8274 GB, free: 1.312 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.02165, allocations: 35.36 kB / 0.8274 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.02189, allocations: 403.5 kB / 0.8278 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.02195, allocations: 79.36 kB / 0.8278 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.02208, allocations: 151.9 kB / 0.828 GB, free: 0.6367 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.0223, allocations: 0.6002 MB / 0.8286 GB, free: 28 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.02242, allocations: 53.33 kB / 0.8286 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.02271, allocations: 461.2 kB / 0.8291 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.02314, allocations: 0.5537 MB / 0.8296 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.02315, allocations: 4 kB / 0.8296 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005622/0.02371, allocations: 483.1 kB / 0.8301 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.02373, allocations: 14.66 kB / 0.8301 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.02374, allocations: 11.98 kB / 0.8301 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.02395, allocations: 52.31 kB / 0.8301 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.02421, allocations: 139.8 kB / 0.8303 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008339/0.02505, allocations: 1.763 MB / 0.832 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.02538, allocations: 131.4 kB / 0.8321 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.02541, allocations: 36.11 kB / 0.8322 GB, free: 11.87 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.0001247/0.02553, allocations: 192.3 kB / 0.8323 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.488e-05/0.0256, allocations: 67.58 kB / 0.8324 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.02565, allocations: 53.86 kB / 0.8325 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.02565, allocations: 4 kB / 0.8325 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.02565, allocations: 4 kB / 0.8325 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.02566, allocations: 3.938 kB / 0.8325 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.02607, allocations: 496.2 kB / 0.8329 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.02607, allocations: 4 kB / 0.833 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.0262, allocations: 51.95 kB / 0.833 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.02631, allocations: 31.66 kB / 0.833 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.02633, allocations: 11.98 kB / 0.833 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006583/0.02699, allocations: 1.755 MB / 0.8348 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02699, allocations: 0 / 0.8348 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.0273, allocations: 390.9 kB / 0.8351 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.02743, allocations: 115.5 kB / 0.8352 GB, free: 8.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.02747, allocations: 11.98 kB / 0.8353 GB, free: 8.508 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.02766, allocations: 39.92 kB / 0.8353 GB, free: 8.469 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.0277, allocations: 11.98 kB / 0.8353 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.02771, allocations: 7.984 kB / 0.8353 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003756/0.02808, allocations: 475 kB / 0.8358 GB, free: 7.988 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.02808, allocations: 4.062 kB / 0.8358 GB, free: 7.984 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003683/0.02845, allocations: 183.8 kB / 0.8359 GB, free: 7.805 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 9.195e-05/0.02854, allocations: 111.1 kB / 0.836 GB, free: 7.684 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004407/0.02899, allocations: 422.6 kB / 0.8364 GB, free: 7.254 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.02899, allocations: 0 / 0.8364 GB, free: 7.254 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.02913, allocations: 235.3 kB / 0.8367 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.0296, allocations: 166.1 kB / 0.8368 GB, free: 6.848 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.03098, allocations: 1.15 MB / 0.838 GB, free: 5.66 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.0311, allocations: 193.2 kB / 0.8381 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.03132, allocations: 144.5 kB / 0.8383 GB, free: 5.305 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.675e-05/0.03141, allocations: 36.5 kB / 0.8383 GB, free: 5.27 MB / 0.7917 GB Notification: Performance of SimCode: time 7.21e-07/0.03141, allocations: 0 / 0.8383 GB, free: 5.27 MB / 0.7917 GB Notification: Performance of Templates: time 0.01037/0.04178, allocations: 9.151 MB / 0.8472 GB, free: 12.33 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.230963522102684]