Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.171/2.171, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001092/0.001092, allocations: 172.9 kB / 492.3 MB, free: 0.6094 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.586/1.586, allocations: 221.3 MB / 0.7872 GB, free: 12.89 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.000877/0.0008765, allocations: 91.95 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.562e-05/2.565e-05, allocations: 3.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2714, allocations: 142.3 MB / 1.212 GB, free: 38.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9331/1.205, allocations: 161.9 MB / 1.37 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/1.205, allocations: 79.67 kB / 1.371 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08659/1.291, allocations: 28.48 MB / 1.398 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.585e-06/1.291, allocations: 4 kB / 1.398 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.72e-05/1.292, allocations: 19.67 kB / 1.398 GB, free: 26.38 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.00118/1.293, allocations: 0.8274 MB / 1.399 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.293, allocations: 11.97 kB / 1.399 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/1.293, allocations: 87.05 kB / 1.399 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/1.295, allocations: 1.216 MB / 1.4 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/1.295, allocations: 34.12 kB / 1.401 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/1.295, allocations: 41.83 kB / 1.401 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/1.296, allocations: 358.7 kB / 1.401 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.296, allocations: 4 kB / 1.401 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/1.296, allocations: 7.438 kB / 1.401 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/1.296, allocations: 8 kB / 1.401 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/1.296, allocations: 217.1 kB / 1.401 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/1.299, allocations: 2.089 MB / 1.403 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008465/1.299, allocations: 384.7 kB / 1.404 GB, free: 21.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/1.3, allocations: 131.4 kB / 1.404 GB, free: 21.74 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/1.3, allocations: 8 kB / 1.404 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/1.3, allocations: 30.56 kB / 1.404 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.984e-06/1.3, allocations: 0 / 1.404 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0005438/1.3, allocations: 345 kB / 1.404 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/1.3, allocations: 51.41 kB / 1.404 GB, free: 21.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009796/1.301, allocations: 0.9062 MB / 1.405 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/1.301, allocations: 33.27 kB / 1.405 GB, free: 20.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/1.301, allocations: 305 kB / 1.405 GB, free: 20.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/1.302, allocations: 62.14 kB / 1.405 GB, free: 20.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/1.302, allocations: 13.94 kB / 1.405 GB, free: 20.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.302, allocations: 378.6 kB / 1.406 GB, free: 20.03 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/1.302, allocations: 223.3 kB / 1.406 GB, free: 19.87 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/1.302, allocations: 0.4883 MB / 1.406 GB, free: 19.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/1.303, allocations: 298.6 kB / 1.407 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.303, allocations: 4 kB / 1.407 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000899/1.304, allocations: 0.7815 MB / 1.407 GB, free: 18.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.304, allocations: 12 kB / 1.407 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.304, allocations: 8 kB / 1.407 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/1.304, allocations: 60 kB / 1.408 GB, free: 18.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/1.304, allocations: 135.2 kB / 1.408 GB, free: 18.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/1.305, allocations: 1.439 MB / 1.409 GB, free: 16.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008685/1.306, allocations: 193.6 kB / 1.409 GB, free: 16.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/1.306, allocations: 30.88 kB / 1.409 GB, free: 16.54 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.0001036/1.306, allocations: 144.4 kB / 1.409 GB, free: 16.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/1.306, allocations: 63.16 kB / 1.409 GB, free: 16.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/1.307, allocations: 68.47 kB / 1.41 GB, free: 16.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/1.307, allocations: 7.984 kB / 1.41 GB, free: 16.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.307, allocations: 7.875 kB / 1.41 GB, free: 16.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.307, allocations: 0 / 1.41 GB, free: 16.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/1.307, allocations: 0.6645 MB / 1.41 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.307, allocations: 3.953 kB / 1.41 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/1.307, allocations: 55.08 kB / 1.41 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001067/1.307, allocations: 43.31 kB / 1.41 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/1.308, allocations: 7.812 kB / 1.41 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007964/1.308, allocations: 1.423 MB / 1.412 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.308, allocations: 0 / 1.412 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000677/1.309, allocations: 0.5544 MB / 1.412 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003837/1.309, allocations: 346.4 kB / 1.413 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/1.309, allocations: 11.36 kB / 1.413 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/1.31, allocations: 86.62 kB / 1.413 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/1.31, allocations: 15.92 kB / 1.413 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/1.31, allocations: 4 kB / 1.413 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009156/1.311, allocations: 0.6893 MB / 1.413 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.311, allocations: 0 / 1.413 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007126/1.312, allocations: 190 kB / 1.414 GB, free: 12.56 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.0003121/1.312, allocations: 187.6 kB / 1.414 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008297/1.313, allocations: 0.5517 MB / 1.414 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.313, allocations: 0 / 1.414 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002801/1.313, allocations: 242.5 kB / 1.414 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007119/1.314, allocations: 158.3 kB / 1.415 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/1.316, allocations: 1.243 MB / 1.416 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/1.316, allocations: 1.02 MB / 1.417 GB, free: 9.461 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000424/1.317, allocations: 184.5 kB / 1.417 GB, free: 9.281 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/1.317, allocations: 35.44 kB / 1.417 GB, free: 9.246 MB / 0.8386 GB Notification: Performance of SimCode: time 9.02e-07/1.317, allocations: 0 / 1.417 GB, free: 9.246 MB / 0.8386 GB Notification: Performance of Templates: time 0.01649/1.334, allocations: 9.46 MB / 1.426 GB, free: 15.92 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches