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.001343/0.001343, allocations: 108.2 kB / 16.41 MB, free: 6.512 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.001324/0.001324, allocations: 187 kB / 17.34 MB, free: 5.742 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.359/1.359, allocations: 222.9 MB / 241 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.604/2.604, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.89 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7281/0.7295, 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.003802/0.7333, allocations: 2.737 MB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003906/0.7372, allocations: 2.78 MB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.7376, allocations: 7.938 kB / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.7391, allocations: 499.9 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006249/0.7397, allocations: 254.9 kB / 1.215 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.7408, allocations: 398.9 kB / 1.215 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001881/0.7427, allocations: 1.54 MB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.7429, allocations: 126.3 kB / 1.217 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007763/0.7437, allocations: 482.7 kB / 1.217 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00067/0.7444, allocations: 382.6 kB / 1.217 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.7446, allocations: 52 kB / 1.217 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.7447, allocations: 52 kB / 1.217 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.745, allocations: 275.2 kB / 1.218 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003958/0.7454, allocations: 378.1 kB / 1.218 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008255/0.7463, allocations: 0.9035 MB / 1.219 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7463, allocations: 0 / 1.219 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.414e-06/0.7463, allocations: 4 kB / 1.219 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.775e-05/0.7463, allocations: 0 / 1.219 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.002155/0.7485, allocations: 1.144 MB / 1.22 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.7485, allocations: 16.03 kB / 1.22 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.7487, allocations: 76 kB / 1.22 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009917/0.7497, allocations: 0.6759 MB / 1.221 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.7497, allocations: 36.92 kB / 1.221 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.7498, allocations: 36.38 kB / 1.221 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.7504, allocations: 374.9 kB / 1.221 GB, free: 304 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.7504, allocations: 3.938 kB / 1.221 GB, free: 300 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.7504, allocations: 8 kB / 1.221 GB, free: 292 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.7505, allocations: 12 kB / 1.221 GB, free: 280 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.7509, allocations: 229.5 kB / 1.221 GB, free: 48 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.00351/0.7544, allocations: 2.443 MB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/0.7554, allocations: 412.9 kB / 1.224 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.7556, allocations: 140.7 kB / 1.224 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.7556, allocations: 4 kB / 1.224 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.7556, allocations: 34.56 kB / 1.224 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.7557, allocations: 0 / 1.224 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0009593/0.7566, allocations: 0.5319 MB / 1.225 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.7567, allocations: 55.41 kB / 1.225 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.7579, allocations: 0.9375 MB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.7579, allocations: 37.7 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.7581, allocations: 296.5 kB / 1.226 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.7582, allocations: 74.98 kB / 1.226 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.7584, allocations: 118.2 kB / 1.226 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.7586, allocations: 382.7 kB / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.7589, allocations: 240.9 kB / 1.227 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.7594, allocations: 0.5014 MB / 1.228 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.7602, allocations: 0.7005 MB / 1.228 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.7602, allocations: 0 / 1.228 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001226/0.7614, allocations: 0.8178 MB / 1.229 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.7615, allocations: 8 kB / 1.229 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.7615, allocations: 12.09 kB / 1.229 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.7617, allocations: 56.81 kB / 1.229 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.7622, allocations: 143.7 kB / 1.229 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.7634, allocations: 1.535 MB / 1.231 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.7641, allocations: 131.1 kB / 1.231 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.7642, allocations: 28 kB / 1.231 GB, free: 5.758 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.0003635/0.7645, allocations: 337.5 kB / 1.231 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.7647, allocations: 67.17 kB / 1.231 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.7648, allocations: 66 kB / 1.231 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.7648, allocations: 4 kB / 1.231 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.7648, allocations: 0 / 1.231 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7648, allocations: 0 / 1.231 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006585/0.7655, allocations: 0.5791 MB / 1.232 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7655, allocations: 3.938 kB / 1.232 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.7658, allocations: 51.91 kB / 1.232 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001285/0.7659, allocations: 48.81 kB / 1.232 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.7659, allocations: 8 kB / 1.232 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.767, allocations: 1.523 MB / 1.233 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.767, allocations: 0 / 1.233 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007345/0.7677, allocations: 0.5733 MB / 1.234 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.768, allocations: 200.2 kB / 1.234 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.283e-05/0.7681, allocations: 11.98 kB / 1.234 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.7685, allocations: 51.86 kB / 1.234 GB, free: 2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.7686, allocations: 7.984 kB / 1.234 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.7686, allocations: 8 kB / 1.234 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008663/0.7694, allocations: 0.659 MB / 1.235 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7695, allocations: 4 kB / 1.235 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006523/0.7701, allocations: 183.8 kB / 1.235 GB, free: 1.148 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.0001224/0.7702, allocations: 107.2 kB / 1.235 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008796/0.7711, allocations: 0.5705 MB / 1.236 GB, free: 464 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7711, allocations: 4 kB / 1.236 GB, free: 460 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.7715, allocations: 246.5 kB / 1.236 GB, free: 200 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008367/0.7723, allocations: 179.8 kB / 1.236 GB, free: 24 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.7745, allocations: 1.554 MB / 1.238 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.775, allocations: 1.006 MB / 1.239 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.7752, allocations: 39.44 kB / 1.239 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.7752, allocations: 0 / 1.239 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of Templates: time 0.01525/0.7904, allocations: 12.37 MB / 1.251 GB, free: 1.035 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches