Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.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.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.037/2.037, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001111/0.001111, allocations: 184.8 kB / 487.4 MB, free: 5.016 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.302/1.302, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008749/0.0008749, allocations: 95.95 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.374e-05/1.385e-05, allocations: 4 kB / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2244, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7643/0.9888, allocations: 158.9 MB / 1.361 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.989, allocations: 75.55 kB / 1.361 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1116/1.101, allocations: 33.14 MB / 1.394 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/1.101, allocations: 0 / 1.394 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001107/1.101, allocations: 19.53 kB / 1.394 GB, free: 25.27 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001743/1.103, allocations: 0.9875 MB / 1.395 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/1.103, allocations: 7.531 kB / 1.395 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004469/1.103, allocations: 108.7 kB / 1.395 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003236/1.106, allocations: 2.021 MB / 1.397 GB, free: 23.81 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/1.106, allocations: 11.72 kB / 1.397 GB, free: 23.81 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-05/1.106, allocations: 38.5 kB / 1.397 GB, free: 23.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000386/1.107, allocations: 310.8 kB / 1.397 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/1.107, allocations: 497 kB / 1.397 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.107, allocations: 0 / 1.397 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/1.107, allocations: 0 / 1.397 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/1.107, allocations: 7.688 kB / 1.397 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/1.11, allocations: 3.056 MB / 1.4 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/1.112, allocations: 0.6429 MB / 1.401 GB, free: 21.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/1.112, allocations: 179.2 kB / 1.401 GB, free: 21.33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/1.112, allocations: 7.844 kB / 1.401 GB, free: 21.33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/1.112, allocations: 41.44 kB / 1.401 GB, free: 21.28 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 2.564e-06/1.112, allocations: 7.984 kB / 1.401 GB, free: 21.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.000729/1.113, allocations: 473.4 kB / 1.402 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/1.113, allocations: 59.2 kB / 1.402 GB, free: 21.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/1.114, allocations: 1.205 MB / 1.403 GB, free: 20.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/1.114, allocations: 25.7 kB / 1.403 GB, free: 20.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/1.115, allocations: 406.8 kB / 1.403 GB, free: 20.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/1.115, allocations: 106.5 kB / 1.403 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/1.115, allocations: 0 / 1.403 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.115, allocations: 342.4 kB / 1.404 GB, free: 20.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/1.115, allocations: 262.9 kB / 1.404 GB, free: 20.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/1.116, allocations: 0.5568 MB / 1.405 GB, free: 19.63 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/1.116, allocations: 361.9 kB / 1.405 GB, free: 19.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.954e-06/1.116, allocations: 3.953 kB / 1.405 GB, free: 19.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001528/1.117, allocations: 1.138 MB / 1.406 GB, free: 19.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.118, allocations: 7.656 kB / 1.406 GB, free: 19.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.118, allocations: 11.56 kB / 1.406 GB, free: 19.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/1.119, allocations: 438.8 kB / 1.406 GB, free: 19.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/1.119, allocations: 112.2 kB / 1.407 GB, free: 19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005507/1.124, allocations: 5.148 MB / 1.412 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/1.127, allocations: 418.6 kB / 1.412 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/1.127, allocations: 42.7 kB / 1.412 GB, free: 15.07 MB / 0.8386 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 () * 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 (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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001425/1.127, allocations: 124.4 kB / 1.412 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/1.127, allocations: 90.88 kB / 1.412 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/1.127, allocations: 100.3 kB / 1.412 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.127, allocations: 0 / 1.412 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.127, allocations: 0 / 1.412 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.127, allocations: 4 kB / 1.412 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/1.129, allocations: 1.066 MB / 1.413 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/1.129, allocations: 0 / 1.413 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/1.129, allocations: 94.98 kB / 1.414 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/1.129, allocations: 47.31 kB / 1.414 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/1.129, allocations: 15.11 kB / 1.414 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/1.13, allocations: 1.438 MB / 1.415 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.13, allocations: 4.031 kB / 1.415 GB, free: 12.37 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/1.131, allocations: 0.7835 MB / 1.416 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009504/1.132, allocations: 0.9508 MB / 1.417 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/1.133, allocations: 14.86 kB / 1.417 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.134, allocations: 203.6 kB / 1.417 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/1.134, allocations: 16.11 kB / 1.417 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/1.134, allocations: 11.11 kB / 1.417 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001238/1.135, allocations: 0.9062 MB / 1.418 GB, free: 9.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.135, allocations: 0 / 1.418 GB, free: 9.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001604/1.137, allocations: 0.6561 MB / 1.418 GB, free: 9.164 MB / 0.8386 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 () * 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 (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.0003615/1.137, allocations: 235 kB / 1.419 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001605/1.139, allocations: 0.8583 MB / 1.419 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.139, allocations: 0 / 1.419 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/1.139, allocations: 314.8 kB / 1.42 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/1.14, allocations: 251.5 kB / 1.42 GB, free: 7.789 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/1.143, allocations: 1.972 MB / 1.422 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/1.144, allocations: 1.165 MB / 1.423 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000657/1.145, allocations: 262.6 kB / 1.423 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/1.145, allocations: 55.38 kB / 1.423 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of SimCode: time 8.82e-07/1.145, allocations: 4 kB / 1.423 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.0213/1.166, allocations: 12.95 MB / 1.436 GB, free: 7.766 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches