Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007108/0.007108, allocations: 106 kB / 15.73 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001585, allocations: 192.2 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.91 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9104/0.9117, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004068/0.9158, allocations: 2.741 MB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004106/0.9199, allocations: 2.776 MB / 1.213 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003268/0.9203, allocations: 7.938 kB / 1.213 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.9218, allocations: 0.4921 MB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006271/0.9224, allocations: 254.9 kB / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009954/0.9234, allocations: 398.9 kB / 1.214 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001836/0.9253, allocations: 1.536 MB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.9255, allocations: 134.3 kB / 1.216 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007575/0.9263, allocations: 478.7 kB / 1.216 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00068/0.927, allocations: 390.6 kB / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.9271, allocations: 48 kB / 1.217 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.9273, allocations: 52 kB / 1.217 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.9276, allocations: 267.3 kB / 1.217 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005392/0.9282, allocations: 378.1 kB / 1.217 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008855/0.9291, allocations: 0.9073 MB / 1.218 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.9291, allocations: 0 / 1.218 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9291, allocations: 0 / 1.218 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.587e-05/0.9292, allocations: 0 / 1.218 GB, free: 2.758 MB / 0.9356 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.002503/0.9317, allocations: 1.152 MB / 1.219 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.9317, allocations: 12.03 kB / 1.219 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.9319, allocations: 76 kB / 1.219 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.9332, allocations: 0.6759 MB / 1.22 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.9333, allocations: 32.88 kB / 1.22 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.829e-05/0.9334, allocations: 40.38 kB / 1.22 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.934, allocations: 378.8 kB / 1.221 GB, free: 296 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.934, allocations: 8 kB / 1.221 GB, free: 288 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.934, allocations: 4 kB / 1.221 GB, free: 284 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.934, allocations: 8 kB / 1.221 GB, free: 276 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.9344, allocations: 233.5 kB / 1.221 GB, free: 40 kB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.9382, allocations: 2.443 MB / 1.223 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009301/0.9392, allocations: 406.4 kB / 1.224 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.9394, allocations: 140.7 kB / 1.224 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.9394, allocations: 4 kB / 1.224 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.9394, allocations: 38.55 kB / 1.224 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.9394, allocations: 0 / 1.224 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0009833/0.9404, allocations: 0.528 MB / 1.224 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.9405, allocations: 55.41 kB / 1.224 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.9418, allocations: 0.9414 MB / 1.225 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.9418, allocations: 37.7 kB / 1.225 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.9421, allocations: 296.5 kB / 1.226 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.24e-05/0.9422, allocations: 71 kB / 1.226 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.9424, allocations: 122.2 kB / 1.226 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.9426, allocations: 382.7 kB / 1.226 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.9429, allocations: 236.9 kB / 1.226 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/0.9435, allocations: 0.5052 MB / 1.227 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000974/0.9445, allocations: 0.7008 MB / 1.227 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.9445, allocations: 4 kB / 1.227 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001249/0.9458, allocations: 0.8158 MB / 1.228 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.9458, allocations: 11.94 kB / 1.228 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.9458, allocations: 8 kB / 1.228 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/0.946, allocations: 52.83 kB / 1.228 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.9465, allocations: 143.8 kB / 1.229 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.9479, allocations: 1.535 MB / 1.23 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.9487, allocations: 123.3 kB / 1.23 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.9488, allocations: 35.98 kB / 1.23 GB, free: 5.754 MB / 0.9512 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.0004504/0.9492, allocations: 345.3 kB / 1.23 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.9493, allocations: 63.19 kB / 1.231 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.9495, allocations: 66 kB / 1.231 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.9495, allocations: 4 kB / 1.231 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.9495, allocations: 0 / 1.231 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.9495, allocations: 3.984 kB / 1.231 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007094/0.9502, allocations: 0.5752 MB / 1.231 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.9502, allocations: 7.938 kB / 1.231 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.9505, allocations: 51.89 kB / 1.231 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001302/0.9506, allocations: 44.83 kB / 1.231 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.9506, allocations: 7.984 kB / 1.231 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.9517, allocations: 1.523 MB / 1.233 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9517, allocations: 0 / 1.233 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.9525, allocations: 0.5793 MB / 1.233 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.9528, allocations: 200.2 kB / 1.234 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.482e-05/0.9529, allocations: 11.98 kB / 1.234 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.9533, allocations: 51.86 kB / 1.234 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.9534, allocations: 7.984 kB / 1.234 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.9534, allocations: 4 kB / 1.234 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008694/0.9543, allocations: 0.6668 MB / 1.234 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9543, allocations: 0 / 1.234 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006734/0.955, allocations: 179.8 kB / 1.234 GB, free: 1.137 MB / 0.9512 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 0.0001537/0.9551, allocations: 107.2 kB / 1.235 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009647/0.9561, allocations: 0.5702 MB / 1.235 GB, free: 452 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.9561, allocations: 0 / 1.235 GB, free: 452 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.9564, allocations: 255 kB / 1.235 GB, free: 184 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/0.9574, allocations: 160.4 kB / 1.235 GB, free: 24 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.96, allocations: 1.525 MB / 1.237 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.9607, allocations: 1.007 MB / 1.238 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004339/0.9611, allocations: 184.5 kB / 1.238 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.9613, allocations: 35.44 kB / 1.238 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.9613, allocations: 0 / 1.238 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of Templates: time 0.01525/0.9765, allocations: 8.655 MB / 1.247 GB, free: 4.688 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches