Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008955/0.008955, allocations: 99.67 kB / 15.73 MB, free: 6.039 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.002067/0.002068, allocations: 197.9 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.437/2.437, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 62.47 kB / 0.9508 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3288, allocations: 140.4 MB / 1.088 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004538/0.3333, allocations: 2.737 MB / 1.091 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004151/0.3375, allocations: 2.777 MB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.3378, allocations: 11.94 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.3392, allocations: 498 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005092/0.3397, allocations: 270.8 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009146/0.3407, allocations: 393.1 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.3422, allocations: 1.536 MB / 1.096 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.3425, allocations: 138.3 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006306/0.3431, allocations: 478.8 kB / 1.096 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.3437, allocations: 386.6 kB / 1.097 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/0.3438, allocations: 48 kB / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.3439, allocations: 48 kB / 1.097 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003152/0.3442, allocations: 275.3 kB / 1.097 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.3446, allocations: 366.2 kB / 1.098 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009546/0.3456, allocations: 0.9225 MB / 1.098 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3456, allocations: 0 / 1.098 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3456, allocations: 0 / 1.098 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.3456, allocations: 0 / 1.098 GB, free: 6.824 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.002112/0.3477, allocations: 1.167 MB / 1.1 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3478, allocations: 12.03 kB / 1.1 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.3479, allocations: 76.47 kB / 1.1 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.349, allocations: 0.6804 MB / 1.1 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.3491, allocations: 28.94 kB / 1.1 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/0.3492, allocations: 36.38 kB / 1.1 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.3497, allocations: 378.8 kB / 1.101 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3497, allocations: 4 kB / 1.101 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.3498, allocations: 8 kB / 1.101 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.3498, allocations: 8 kB / 1.101 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.3502, allocations: 233.5 kB / 1.101 GB, free: 4.094 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.003606/0.3538, allocations: 2.459 MB / 1.103 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009669/0.3548, allocations: 401.1 kB / 1.104 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.355, allocations: 136.7 kB / 1.104 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.355, allocations: 4 kB / 1.104 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.3551, allocations: 34.56 kB / 1.104 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.3551, allocations: 3.938 kB / 1.104 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009904/0.3561, allocations: 0.5433 MB / 1.105 GB, free: 296 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.3561, allocations: 59.34 kB / 1.105 GB, free: 224 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.3574, allocations: 0.9376 MB / 1.105 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.3575, allocations: 37.7 kB / 1.106 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.3578, allocations: 304.8 kB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/0.3578, allocations: 67.39 kB / 1.106 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.358, allocations: 122.2 kB / 1.106 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.3582, allocations: 386.7 kB / 1.106 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.3586, allocations: 240.9 kB / 1.107 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/0.3591, allocations: 0.4975 MB / 1.107 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000786/0.3599, allocations: 0.6958 MB / 1.108 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.3599, allocations: 4 kB / 1.108 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001171/0.3611, allocations: 0.8236 MB / 1.109 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3611, allocations: 8 kB / 1.109 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.3611, allocations: 8 kB / 1.109 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/0.3614, allocations: 53.33 kB / 1.109 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.3618, allocations: 143.8 kB / 1.109 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.3632, allocations: 1.546 MB / 1.11 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.3638, allocations: 123.4 kB / 1.11 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.3639, allocations: 28 kB / 1.11 GB, free: 9.781 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.0003976/0.3643, allocations: 341.3 kB / 1.111 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.3644, allocations: 67.52 kB / 1.111 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.3645, allocations: 74.09 kB / 1.111 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3645, allocations: 4 kB / 1.111 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3645, allocations: 0 / 1.111 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3645, allocations: 0 / 1.111 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/0.3652, allocations: 0.5753 MB / 1.111 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3652, allocations: 0 / 1.111 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.3655, allocations: 51.89 kB / 1.111 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.3656, allocations: 44.81 kB / 1.112 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.3657, allocations: 15.98 kB / 1.112 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.3668, allocations: 1.515 MB / 1.113 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3668, allocations: 4 kB / 1.113 GB, free: 6.887 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007861/0.3676, allocations: 0.5723 MB / 1.114 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.368, allocations: 204.7 kB / 1.114 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.678e-05/0.3681, allocations: 12 kB / 1.114 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.3684, allocations: 51.86 kB / 1.114 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.3685, allocations: 15.97 kB / 1.114 GB, free: 6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3685, allocations: 4 kB / 1.114 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008516/0.3694, allocations: 0.6551 MB / 1.115 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3694, allocations: 0 / 1.115 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006464/0.37, allocations: 187.8 kB / 1.115 GB, free: 5.164 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.0001395/0.3702, allocations: 119.1 kB / 1.115 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009469/0.3711, allocations: 0.5701 MB / 1.115 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3712, allocations: 0 / 1.115 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.3715, allocations: 246.5 kB / 1.116 GB, free: 4.203 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008214/0.3723, allocations: 176.8 kB / 1.116 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.3744, allocations: 1.528 MB / 1.117 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/0.375, allocations: 1.006 MB / 1.118 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003628/0.3753, allocations: 180.5 kB / 1.118 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.3754, allocations: 35.44 kB / 1.118 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.3754, allocations: 0 / 1.118 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.01489/0.3903, allocations: 8.533 MB / 1.127 GB, free: 8.812 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches