Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.009006/0.009006, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001843/0.001844, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 65.44 kB / 0.9508 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3066, allocations: 140.4 MB / 1.088 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.006207/0.3129, allocations: 2.737 MB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004863/0.3178, allocations: 2.785 MB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.3182, allocations: 7.938 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.3196, allocations: 0.4941 MB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006112/0.3203, allocations: 258.9 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.3213, allocations: 396.2 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001725/0.3231, allocations: 1.538 MB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.3233, allocations: 135.7 kB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007096/0.324, allocations: 482.8 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00061/0.3247, allocations: 390.6 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.3248, allocations: 48 kB / 1.097 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.3249, allocations: 48 kB / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.3252, allocations: 275.3 kB / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.3257, allocations: 374.2 kB / 1.098 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007912/0.3265, allocations: 0.8996 MB / 1.098 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3265, allocations: 4 kB / 1.098 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3265, allocations: 3.938 kB / 1.098 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.3265, allocations: 0 / 1.098 GB, free: 6.762 MB / 0.8575 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.002153/0.3287, allocations: 1.144 MB / 1.1 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3287, allocations: 15.95 kB / 1.1 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.3289, allocations: 76 kB / 1.1 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.33, allocations: 0.6798 MB / 1.1 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.33, allocations: 32.94 kB / 1.1 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-05/0.3301, allocations: 36.38 kB / 1.1 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.3306, allocations: 374.9 kB / 1.101 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.3307, allocations: 7.938 kB / 1.101 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.3307, allocations: 8 kB / 1.101 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3307, allocations: 8 kB / 1.101 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/0.3312, allocations: 229.5 kB / 1.101 GB, free: 4.051 MB / 0.8575 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.003728/0.3349, allocations: 2.451 MB / 1.103 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.336, allocations: 398.5 kB / 1.104 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.3362, allocations: 140.7 kB / 1.104 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3362, allocations: 8.25 kB / 1.104 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.3362, allocations: 34.56 kB / 1.104 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.3363, allocations: 0 / 1.104 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009505/0.3372, allocations: 0.5392 MB / 1.104 GB, free: 260 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.3373, allocations: 51.41 kB / 1.105 GB, free: 196 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.3384, allocations: 0.9375 MB / 1.105 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.3385, allocations: 37.7 kB / 1.105 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.3387, allocations: 300.5 kB / 1.106 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.3388, allocations: 74.94 kB / 1.106 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.339, allocations: 122.2 kB / 1.106 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3391, allocations: 382.7 kB / 1.106 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.3395, allocations: 236.9 kB / 1.107 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/0.34, allocations: 0.4975 MB / 1.107 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007948/0.3408, allocations: 0.704 MB / 1.108 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.3408, allocations: 0 / 1.108 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001239/0.3421, allocations: 0.8157 MB / 1.109 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3421, allocations: 8 kB / 1.109 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.3421, allocations: 11.98 kB / 1.109 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.3424, allocations: 52.83 kB / 1.109 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.3429, allocations: 143.7 kB / 1.109 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.3441, allocations: 1.535 MB / 1.11 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/0.3448, allocations: 131.3 kB / 1.11 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.3449, allocations: 32 kB / 1.11 GB, free: 9.758 MB / 0.8731 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.000358/0.3452, allocations: 335.4 kB / 1.111 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.865e-05/0.3453, allocations: 63.19 kB / 1.111 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.3455, allocations: 70 kB / 1.111 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3455, allocations: 0 / 1.111 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3455, allocations: 3.938 kB / 1.111 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3455, allocations: 0 / 1.111 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.3461, allocations: 0.5868 MB / 1.111 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3461, allocations: 4 kB / 1.111 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.3464, allocations: 51.89 kB / 1.111 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/0.3465, allocations: 40.83 kB / 1.111 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.3465, allocations: 8 kB / 1.111 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.3476, allocations: 1.519 MB / 1.113 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.3476, allocations: 4.031 kB / 1.113 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007115/0.3483, allocations: 0.5715 MB / 1.114 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.3486, allocations: 204.2 kB / 1.114 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.3487, allocations: 8 kB / 1.114 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.3491, allocations: 51.86 kB / 1.114 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.3491, allocations: 7.984 kB / 1.114 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3492, allocations: 4 kB / 1.114 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008191/0.35, allocations: 0.6668 MB / 1.114 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.35, allocations: 0 / 1.114 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006396/0.3506, allocations: 183.8 kB / 1.115 GB, free: 5.152 MB / 0.8731 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.0001451/0.3508, allocations: 107.2 kB / 1.115 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009846/0.3518, allocations: 0.578 MB / 1.115 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.3518, allocations: 0 / 1.115 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.3522, allocations: 257.1 kB / 1.116 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008614/0.353, allocations: 166.2 kB / 1.116 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.3556, allocations: 1.514 MB / 1.117 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006556/0.3562, allocations: 1.01 MB / 1.118 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000401/0.3566, allocations: 184.5 kB / 1.118 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3568, allocations: 39.44 kB / 1.118 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of SimCode: time 5.41e-07/0.3568, allocations: 0 / 1.118 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of Templates: time 0.0154/0.3722, allocations: 8.521 MB / 1.127 GB, free: 8.82 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches