Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008497/0.008497, allocations: 101 kB / 15.73 MB, free: 6 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.001721/0.001721, allocations: 189.5 kB / 16.67 MB, free: 5.934 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.393/1.393, 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 11.1.0-maint.11.x/package.mo): time 2.972/2.972, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.89 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3445, allocations: 159.1 MB / 1.221 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004133/0.3486, allocations: 2.842 MB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003454/0.3521, allocations: 2.219 MB / 1.226 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002855/0.3524, allocations: 15.94 kB / 1.226 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.3536, allocations: 422 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.3542, allocations: 266.7 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008678/0.355, allocations: 343.1 kB / 1.227 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.3569, allocations: 1.697 MB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.3571, allocations: 94.38 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009052/0.3581, allocations: 0.6078 MB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006871/0.3587, allocations: 478.3 kB / 1.229 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.3588, allocations: 64 kB / 1.229 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.359, allocations: 68 kB / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003972/0.3594, allocations: 422.8 kB / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.3599, allocations: 0.5287 MB / 1.23 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.3611, allocations: 1.335 MB / 1.232 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3611, allocations: 0 / 1.232 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3611, allocations: 0 / 1.232 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.931e-05/0.3612, allocations: 0 / 1.232 GB, free: 2.48 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002784/0.3639, allocations: 1.525 MB / 1.233 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.364, allocations: 8.031 kB / 1.233 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.3642, allocations: 116.2 kB / 1.233 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.3658, allocations: 1.005 MB / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.3658, allocations: 37.03 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.682e-05/0.3659, allocations: 55.89 kB / 1.234 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/0.3667, allocations: 0.5433 MB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3667, allocations: 3.938 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.3667, allocations: 19.98 kB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3668, allocations: 8 kB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005219/0.3673, allocations: 349.8 kB / 1.235 GB, free: 14.67 MB / 0.9981 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.00653/0.3738, allocations: 3.831 MB / 1.239 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.3756, allocations: 0.6348 MB / 1.24 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.3759, allocations: 184.7 kB / 1.24 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.3759, allocations: 8 kB / 1.24 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3759, allocations: 38.55 kB / 1.24 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 2.474e-06/0.3759, allocations: 0 / 1.24 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.001448/0.3774, allocations: 0.767 MB / 1.241 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.3774, allocations: 55.41 kB / 1.241 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.3793, allocations: 1.417 MB / 1.242 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.3793, allocations: 41.64 kB / 1.242 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004188/0.3797, allocations: 417.2 kB / 1.242 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.3799, allocations: 115 kB / 1.243 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.3801, allocations: 154.3 kB / 1.243 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3803, allocations: 334 kB / 1.243 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.3807, allocations: 285.1 kB / 1.243 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005809/0.3812, allocations: 0.5901 MB / 1.244 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.3823, allocations: 0.8867 MB / 1.245 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.3823, allocations: 7.984 kB / 1.245 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002045/0.3843, allocations: 1.247 MB / 1.246 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3843, allocations: 12 kB / 1.246 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.3844, allocations: 8 kB / 1.246 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.3857, allocations: 449.5 kB / 1.246 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.386, allocations: 115.7 kB / 1.246 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6727/1.059, allocations: 4.682 MB / 1.251 GB, free: 28.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/1.06, allocations: 226 kB / 1.251 GB, free: 28.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/1.06, allocations: 32.41 kB / 1.251 GB, free: 28.07 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (61): * Single equations (assignments): 60 * 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,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005031/1.061, allocations: 426.9 kB / 1.252 GB, free: 27.96 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/1.061, allocations: 101.5 kB / 1.252 GB, free: 27.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/1.061, allocations: 103.1 kB / 1.252 GB, free: 27.94 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.061, allocations: 3.125 kB / 1.252 GB, free: 27.94 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.061, allocations: 6.531 kB / 1.252 GB, free: 27.94 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.061, allocations: 0 / 1.252 GB, free: 27.94 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008921/1.062, allocations: 0.9314 MB / 1.253 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.062, allocations: 0 / 1.253 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/1.062, allocations: 88.06 kB / 1.253 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/1.062, allocations: 42.48 kB / 1.253 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/1.062, allocations: 21.19 kB / 1.253 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008177/1.063, allocations: 1.524 MB / 1.254 GB, free: 26.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.063, allocations: 0 / 1.254 GB, free: 26.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/1.064, allocations: 0.8308 MB / 1.255 GB, free: 26.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004189/1.065, allocations: 302.1 kB / 1.256 GB, free: 26.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.065, allocations: 17.78 kB / 1.256 GB, free: 26.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/1.066, allocations: 98.7 kB / 1.256 GB, free: 26.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/1.066, allocations: 22.42 kB / 1.256 GB, free: 26.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/1.066, allocations: 8.562 kB / 1.256 GB, free: 26.08 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001451/1.067, allocations: 0.9971 MB / 1.257 GB, free: 25.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.067, allocations: 0 / 1.257 GB, free: 25.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001061/1.068, allocations: 457.7 kB / 1.257 GB, free: 25.96 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * 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 (25): * Single equations (assignments): 24 * 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.0001422/1.068, allocations: 118.4 kB / 1.257 GB, free: 25.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001684/1.07, allocations: 0.9132 MB / 1.258 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.07, allocations: 0 / 1.258 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/1.07, allocations: 317.3 kB / 1.258 GB, free: 25.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/1.071, allocations: 276.9 kB / 1.259 GB, free: 25.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/1.074, allocations: 2.313 MB / 1.261 GB, free: 24.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006761/1.075, allocations: 1.153 MB / 1.262 GB, free: 23.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005643/1.076, allocations: 262.2 kB / 1.262 GB, free: 23.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/1.076, allocations: 51.78 kB / 1.262 GB, free: 23.92 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.076, allocations: 3.938 kB / 1.262 GB, free: 23.92 MB / 0.9981 GB Notification: Performance of Templates: time 0.03947/1.115, allocations: 15.86 MB / 1.278 GB, free: 23.06 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches