Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.384/2.384, allocations: 390.5 MB / 398 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 188.9 kB / 491.2 MB, free: 1.594 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.5 MB / 0.7868 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009957/0.0009957, allocations: 97.97 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.392e-05/1.396e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2731, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8507/1.124, allocations: 162 MB / 1.371 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/1.124, allocations: 79.94 kB / 1.371 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0846/1.209, allocations: 27.84 MB / 1.398 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.966e-06/1.209, allocations: 0 / 1.398 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000145/1.209, allocations: 19.47 kB / 1.398 GB, free: 25.33 MB / 0.8386 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.002046/1.211, allocations: 0.8282 MB / 1.399 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/1.211, allocations: 7.719 kB / 1.399 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005144/1.212, allocations: 81.62 kB / 1.399 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/1.215, allocations: 1.225 MB / 1.4 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/1.215, allocations: 15.77 kB / 1.4 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/1.215, allocations: 23.22 kB / 1.4 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003593/1.215, allocations: 203.1 kB / 1.4 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/1.216, allocations: 323 kB / 1.4 GB, free: 24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.216, allocations: 4 kB / 1.4 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/1.216, allocations: 3.875 kB / 1.4 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.216, allocations: 7.812 kB / 1.4 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/1.218, allocations: 2.016 MB / 1.402 GB, free: 22.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008752/1.219, allocations: 376.7 kB / 1.403 GB, free: 22.24 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/1.22, allocations: 128.4 kB / 1.403 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/1.22, allocations: 0 / 1.403 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/1.22, allocations: 34.56 kB / 1.403 GB, free: 22.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 3.136e-06/1.22, allocations: 0 / 1.403 GB, free: 22.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0006751/1.22, allocations: 329.8 kB / 1.403 GB, free: 21.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/1.22, allocations: 55.41 kB / 1.403 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/1.222, allocations: 0.8633 MB / 1.404 GB, free: 21.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/1.222, allocations: 29.7 kB / 1.404 GB, free: 21.08 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/1.222, allocations: 289.9 kB / 1.404 GB, free: 20.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/1.222, allocations: 72.2 kB / 1.405 GB, free: 20.83 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/1.222, allocations: 0 / 1.405 GB, free: 20.83 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.222, allocations: 377.8 kB / 1.405 GB, free: 20.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/1.222, allocations: 215.1 kB / 1.405 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/1.223, allocations: 481.3 kB / 1.406 GB, free: 19.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/1.223, allocations: 283.3 kB / 1.406 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/1.223, allocations: 4 kB / 1.406 GB, free: 19.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009288/1.224, allocations: 0.716 MB / 1.407 GB, free: 18.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.224, allocations: 9.25 kB / 1.407 GB, free: 18.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/1.224, allocations: 15.98 kB / 1.407 GB, free: 18.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/1.224, allocations: 56.3 kB / 1.407 GB, free: 18.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/1.225, allocations: 135.2 kB / 1.407 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/1.226, allocations: 1.419 MB / 1.408 GB, free: 17.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009511/1.227, allocations: 183.2 kB / 1.408 GB, free: 17.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/1.227, allocations: 30.5 kB / 1.408 GB, free: 17.12 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.227, allocations: 129.9 kB / 1.408 GB, free: 16.99 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/1.227, allocations: 71.2 kB / 1.408 GB, free: 16.92 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/1.227, allocations: 62.02 kB / 1.409 GB, free: 16.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/1.227, allocations: 4 kB / 1.409 GB, free: 16.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/1.227, allocations: 0 / 1.409 GB, free: 16.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/1.227, allocations: 3.938 kB / 1.409 GB, free: 16.87 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/1.228, allocations: 0.6166 MB / 1.409 GB, free: 16.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/1.228, allocations: 0 / 1.409 GB, free: 16.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/1.228, allocations: 55.89 kB / 1.409 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/1.228, allocations: 47.5 kB / 1.409 GB, free: 16.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/1.228, allocations: 15.88 kB / 1.409 GB, free: 16.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009152/1.229, allocations: 1.404 MB / 1.411 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.229, allocations: 0 / 1.411 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/1.23, allocations: 0.5243 MB / 1.411 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/1.23, allocations: 352.3 kB / 1.411 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/1.23, allocations: 11.27 kB / 1.412 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/1.231, allocations: 91.88 kB / 1.412 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/1.231, allocations: 7.984 kB / 1.412 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/1.231, allocations: 4 kB / 1.412 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006902/1.232, allocations: 0.6469 MB / 1.412 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.11e-07/1.232, allocations: 0 / 1.412 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007326/1.232, allocations: 190.8 kB / 1.412 GB, free: 13.28 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002738/1.233, allocations: 176.2 kB / 1.413 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008159/1.233, allocations: 0.5262 MB / 1.413 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.233, allocations: 0 / 1.413 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/1.234, allocations: 227.6 kB / 1.413 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007358/1.234, allocations: 157.6 kB / 1.413 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/1.236, allocations: 1.225 MB / 1.415 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/1.237, allocations: 1.019 MB / 1.416 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000475/1.238, allocations: 188.4 kB / 1.416 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/1.238, allocations: 39.38 kB / 1.416 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of SimCode: time 8.42e-07/1.238, allocations: 0 / 1.416 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.01569/1.253, allocations: 7.207 MB / 1.423 GB, free: 2.938 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches