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.009726/0.009726, allocations: 105.6 kB / 15.74 MB, free: 6.055 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.001937/0.001937, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.578/2.578, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 60.11 kB / 1.054 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8567/0.8582, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003821/0.8621, allocations: 2.734 MB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00375/0.8658, allocations: 2.784 MB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.866, allocations: 7.938 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.8673, allocations: 499.9 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.8678, allocations: 254.9 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000869/0.8687, allocations: 395 kB / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.8702, allocations: 1.543 MB / 1.216 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.8704, allocations: 130.3 kB / 1.216 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005559/0.871, allocations: 486.7 kB / 1.216 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004678/0.8715, allocations: 378.6 kB / 1.217 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.788e-05/0.8716, allocations: 52 kB / 1.217 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.8717, allocations: 52 kB / 1.217 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.872, allocations: 279.2 kB / 1.217 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004524/0.8725, allocations: 374.2 kB / 1.217 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009751/0.8734, allocations: 0.9035 MB / 1.218 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8735, allocations: 0 / 1.218 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8735, allocations: 0 / 1.218 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.8735, allocations: 4 kB / 1.218 GB, free: 2.828 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.002149/0.8756, allocations: 1.144 MB / 1.219 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.8757, allocations: 16.03 kB / 1.219 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.8758, allocations: 76 kB / 1.219 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009798/0.8768, allocations: 0.6721 MB / 1.22 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.8769, allocations: 32.94 kB / 1.22 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.637e-05/0.8769, allocations: 40.31 kB / 1.22 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.8775, allocations: 374.9 kB / 1.221 GB, free: 380 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.8775, allocations: 0 / 1.221 GB, free: 380 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.8775, allocations: 12 kB / 1.221 GB, free: 368 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.8776, allocations: 12 kB / 1.221 GB, free: 356 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/0.8779, allocations: 233.5 kB / 1.221 GB, free: 120 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.003493/0.8814, allocations: 2.447 MB / 1.223 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009793/0.8824, allocations: 410.4 kB / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.8826, allocations: 136.7 kB / 1.224 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.8827, allocations: 4 kB / 1.224 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.8827, allocations: 34.56 kB / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.8827, allocations: 3.938 kB / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.000965/0.8837, allocations: 0.5321 MB / 1.224 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.8837, allocations: 55.34 kB / 1.224 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.8849, allocations: 0.9375 MB / 1.225 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.8849, allocations: 37.7 kB / 1.225 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.8852, allocations: 300.5 kB / 1.226 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.8852, allocations: 71 kB / 1.226 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.8854, allocations: 122.2 kB / 1.226 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.8856, allocations: 386.7 kB / 1.226 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.8859, allocations: 240.9 kB / 1.226 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005215/0.8865, allocations: 0.4975 MB / 1.227 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008068/0.8873, allocations: 0.7004 MB / 1.228 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8873, allocations: 0 / 1.228 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001186/0.8885, allocations: 0.8139 MB / 1.228 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.8885, allocations: 8 kB / 1.228 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.8885, allocations: 12.09 kB / 1.228 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/0.8888, allocations: 52.81 kB / 1.228 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.8892, allocations: 143.7 kB / 1.229 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.8907, allocations: 1.531 MB / 1.23 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006312/0.8913, allocations: 127.2 kB / 1.23 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.8914, allocations: 31.98 kB / 1.23 GB, free: 5.832 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.0003669/0.8918, allocations: 337.5 kB / 1.23 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.861e-05/0.8919, allocations: 67.17 kB / 1.231 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.892, allocations: 70 kB / 1.231 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.892, allocations: 4 kB / 1.231 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.892, allocations: 0 / 1.231 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.892, allocations: 0 / 1.231 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006142/0.8926, allocations: 0.5752 MB / 1.231 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.8926, allocations: 0 / 1.231 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.8929, allocations: 59.84 kB / 1.231 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.893, allocations: 52.8 kB / 1.231 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.893, allocations: 8 kB / 1.231 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.8941, allocations: 1.519 MB / 1.233 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8941, allocations: 0 / 1.233 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000717/0.8948, allocations: 0.572 MB / 1.233 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.8951, allocations: 204.2 kB / 1.234 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.8952, allocations: 7.984 kB / 1.234 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.8955, allocations: 51.86 kB / 1.234 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.8956, allocations: 7.984 kB / 1.234 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.8956, allocations: 8 kB / 1.234 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008489/0.8965, allocations: 0.659 MB / 1.234 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8965, allocations: 0 / 1.234 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006164/0.8971, allocations: 191.8 kB / 1.234 GB, free: 1.215 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.0001242/0.8973, allocations: 115.1 kB / 1.235 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008864/0.8981, allocations: 0.5684 MB / 1.235 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.8982, allocations: 4 kB / 1.235 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.8985, allocations: 246.5 kB / 1.235 GB, free: 264 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000794/0.8993, allocations: 171.1 kB / 1.235 GB, free: 92 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.9016, allocations: 1.513 MB / 1.237 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.9022, allocations: 1.007 MB / 1.238 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003731/0.9026, allocations: 184.5 kB / 1.238 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.9027, allocations: 35.44 kB / 1.238 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.9027, allocations: 0 / 1.238 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.01487/0.9176, allocations: 8.522 MB / 1.246 GB, free: 4.898 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