Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008305/0.008305, allocations: 97.62 kB / 15.73 MB, free: 6.035 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.001696/0.001696, allocations: 201.3 kB / 16.68 MB, free: 5.961 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.464/2.464, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 70.44 kB / 0.9508 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.314, allocations: 140.4 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.005606/0.3197, allocations: 2.748 MB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004557/0.3243, allocations: 2.769 MB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.3247, allocations: 7.938 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.3264, allocations: 0.4941 MB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007502/0.3271, allocations: 258.9 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.3283, allocations: 408 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001902/0.3302, allocations: 1.523 MB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/0.3306, allocations: 143.7 kB / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000819/0.3314, allocations: 474.8 kB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007259/0.3321, allocations: 386.6 kB / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.3323, allocations: 51.94 kB / 1.097 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.3324, allocations: 51.94 kB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.3328, allocations: 267.3 kB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005297/0.3333, allocations: 374.2 kB / 1.098 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000984/0.3343, allocations: 0.9224 MB / 1.098 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3343, allocations: 4 kB / 1.098 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3343, allocations: 0 / 1.098 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.977e-05/0.3343, allocations: 0 / 1.098 GB, free: 6.66 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.002497/0.3368, allocations: 1.171 MB / 1.1 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3369, allocations: 8.031 kB / 1.1 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.3371, allocations: 80.47 kB / 1.1 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.3382, allocations: 0.6727 MB / 1.1 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3382, allocations: 24.94 kB / 1.1 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-05/0.3383, allocations: 44.36 kB / 1.1 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.3389, allocations: 382.8 kB / 1.101 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.339, allocations: 0 / 1.101 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.339, allocations: 12 kB / 1.101 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.339, allocations: 4 kB / 1.101 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.3394, allocations: 237.5 kB / 1.101 GB, free: 3.926 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.003626/0.343, allocations: 2.451 MB / 1.103 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009985/0.3441, allocations: 398.5 kB / 1.104 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.3443, allocations: 140.7 kB / 1.104 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.3443, allocations: 3.938 kB / 1.104 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.3443, allocations: 42.55 kB / 1.104 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.3443, allocations: 0 / 1.104 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009515/0.3453, allocations: 0.5363 MB / 1.104 GB, free: 132 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.3453, allocations: 63.34 kB / 1.105 GB, free: 56 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.3465, allocations: 0.9337 MB / 1.105 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.3465, allocations: 37.64 kB / 1.105 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.3468, allocations: 304.8 kB / 1.106 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.306e-05/0.3469, allocations: 75.38 kB / 1.106 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.3471, allocations: 122.2 kB / 1.106 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3472, allocations: 382.7 kB / 1.106 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.3476, allocations: 240.9 kB / 1.107 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/0.3481, allocations: 0.4975 MB / 1.107 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008578/0.349, allocations: 0.6997 MB / 1.108 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.349, allocations: 4 kB / 1.108 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001172/0.3502, allocations: 0.8159 MB / 1.109 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3502, allocations: 8 kB / 1.109 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3502, allocations: 12 kB / 1.109 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.3505, allocations: 45.23 kB / 1.109 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.3509, allocations: 151.7 kB / 1.109 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.3522, allocations: 1.542 MB / 1.11 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006766/0.3529, allocations: 127.4 kB / 1.11 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.353, allocations: 31.94 kB / 1.11 GB, free: 9.613 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.0003603/0.3533, allocations: 341.4 kB / 1.111 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.3535, allocations: 67.52 kB / 1.111 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.3536, allocations: 70.06 kB / 1.111 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3536, allocations: 0 / 1.111 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3536, allocations: 4 kB / 1.111 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3536, allocations: 3.984 kB / 1.111 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006586/0.3543, allocations: 0.5753 MB / 1.111 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3543, allocations: 0 / 1.111 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.3545, allocations: 51.83 kB / 1.111 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.3547, allocations: 44.81 kB / 1.112 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.3547, allocations: 12 kB / 1.112 GB, free: 8.379 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.3559, allocations: 1.523 MB / 1.113 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3559, allocations: 0 / 1.113 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000768/0.3567, allocations: 0.5738 MB / 1.114 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.357, allocations: 196.7 kB / 1.114 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.228e-05/0.3571, allocations: 11.98 kB / 1.114 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.3574, allocations: 55.86 kB / 1.114 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.3575, allocations: 15.92 kB / 1.114 GB, free: 5.832 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.3575, allocations: 4 kB / 1.114 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000827/0.3584, allocations: 0.6629 MB / 1.115 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3584, allocations: 0 / 1.115 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005952/0.359, allocations: 183.8 kB / 1.115 GB, free: 4.992 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.0001319/0.3591, allocations: 104.4 kB / 1.115 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009085/0.36, allocations: 0.5801 MB / 1.115 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.36, allocations: 0 / 1.115 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003335/0.3604, allocations: 246.5 kB / 1.116 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008489/0.3612, allocations: 169.1 kB / 1.116 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.3634, allocations: 1.532 MB / 1.117 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.3641, allocations: 1.014 MB / 1.118 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003935/0.3645, allocations: 180.5 kB / 1.118 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3646, allocations: 35.44 kB / 1.118 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.3646, allocations: 4 kB / 1.118 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of Templates: time 0.01488/0.3795, allocations: 8.516 MB / 1.127 GB, free: 8.656 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches