Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001372/0.001372, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.894/2.894, allocations: 437 MB / 0.7104 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 67.89 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6184/0.6207, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004252/0.625, allocations: 2.832 MB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003238/0.6282, allocations: 2.207 MB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.6285, allocations: 15.88 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.6296, allocations: 406.1 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004719/0.6301, allocations: 286.6 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000766/0.6309, allocations: 342.7 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.6327, allocations: 1.681 MB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.633, allocations: 150.3 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007513/0.6337, allocations: 0.5844 MB / 1.026 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008052/0.6345, allocations: 0.584 MB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.6347, allocations: 72 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.6349, allocations: 88 kB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003961/0.6353, allocations: 375 kB / 1.027 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005938/0.6359, allocations: 0.5325 MB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.6371, allocations: 1.328 MB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6371, allocations: 4 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6371, allocations: 0 / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.6372, allocations: 0 / 1.028 GB, free: 6.961 MB / 0.7794 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.002726/0.6399, allocations: 1.487 MB / 1.03 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.64, allocations: 15.98 kB / 1.03 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.6402, allocations: 107.6 kB / 1.03 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.6417, allocations: 0.9727 MB / 1.031 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.6417, allocations: 33.03 kB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.186e-05/0.6418, allocations: 56.36 kB / 1.031 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.6426, allocations: 0.5471 MB / 1.032 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.6426, allocations: 0 / 1.032 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.6427, allocations: 16 kB / 1.032 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.6427, allocations: 8 kB / 1.032 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005921/0.6433, allocations: 349.8 kB / 1.032 GB, free: 3.23 MB / 0.7794 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.007375/0.6507, allocations: 3.866 MB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.6526, allocations: 0.6621 MB / 1.036 GB, free: 14.44 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.6529, allocations: 196.7 kB / 1.037 GB, free: 14.24 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.6529, allocations: 8 kB / 1.037 GB, free: 14.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.653, allocations: 34.55 kB / 1.037 GB, free: 14.19 MB / 0.795 GB Notification: Performance of pre-optimization done (n=26): time 2.855e-06/0.653, allocations: 0 / 1.037 GB, free: 14.19 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.001519/0.6545, allocations: 0.7553 MB / 1.037 GB, free: 13.41 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.6546, allocations: 55.41 kB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.6566, allocations: 1.436 MB / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.6567, allocations: 41.7 kB / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.6571, allocations: 412.8 kB / 1.039 GB, free: 11.43 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.6572, allocations: 106.5 kB / 1.039 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.6574, allocations: 150.2 kB / 1.039 GB, free: 11.17 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.6576, allocations: 338 kB / 1.04 GB, free: 10.83 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.6581, allocations: 289.1 kB / 1.04 GB, free: 10.55 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006874/0.6588, allocations: 0.5901 MB / 1.041 GB, free: 9.816 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.6599, allocations: 0.8832 MB / 1.042 GB, free: 8.789 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6599, allocations: 3.938 kB / 1.042 GB, free: 8.785 MB / 0.795 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002091/0.662, allocations: 1.258 MB / 1.043 GB, free: 7.516 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.662, allocations: 9.562 kB / 1.043 GB, free: 7.508 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.6621, allocations: 12 kB / 1.043 GB, free: 7.496 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.6634, allocations: 453.5 kB / 1.043 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.6637, allocations: 111.8 kB / 1.043 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/0.67, allocations: 4.698 MB / 1.048 GB, free: 2.109 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.6713, allocations: 218.9 kB / 1.048 GB, free: 1.895 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.6714, allocations: 32 kB / 1.048 GB, free: 1.863 MB / 0.795 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.0006439/0.672, allocations: 429.3 kB / 1.049 GB, free: 1.434 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.6722, allocations: 86.88 kB / 1.049 GB, free: 1.348 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.6724, allocations: 104.8 kB / 1.049 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6724, allocations: 8.062 kB / 1.049 GB, free: 1.23 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6724, allocations: 0 / 1.049 GB, free: 1.23 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.6724, allocations: 3.984 kB / 1.049 GB, free: 1.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.6736, allocations: 0.9316 MB / 1.05 GB, free: 252 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6736, allocations: 0 / 1.05 GB, free: 252 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.674, allocations: 91.86 kB / 1.05 GB, free: 160 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001552/0.6742, allocations: 52.8 kB / 1.05 GB, free: 104 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.6742, allocations: 15.98 kB / 1.05 GB, free: 88 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.6755, allocations: 1.523 MB / 1.051 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6756, allocations: 0 / 1.051 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.6767, allocations: 0.8295 MB / 1.052 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.6772, allocations: 295.8 kB / 1.052 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.6773, allocations: 15.98 kB / 1.052 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006834/0.678, allocations: 99.81 kB / 1.052 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.6781, allocations: 16.02 kB / 1.053 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.6781, allocations: 8 kB / 1.053 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001492/0.6796, allocations: 1.006 MB / 1.053 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6796, allocations: 0 / 1.053 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001096/0.6807, allocations: 467.8 kB / 1.054 GB, free: 11.66 MB / 0.8106 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.0001637/0.6809, allocations: 111.2 kB / 1.054 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.6828, allocations: 0.9912 MB / 1.055 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6828, allocations: 0 / 1.055 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004448/0.6832, allocations: 322.5 kB / 1.055 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.6844, allocations: 301.3 kB / 1.056 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.6878, allocations: 2.298 MB / 1.058 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000888/0.6887, allocations: 1.152 MB / 1.059 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005324/0.6893, allocations: 246.5 kB / 1.059 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.6895, allocations: 51.44 kB / 1.059 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.6895, allocations: 0 / 1.059 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of Templates: time 0.0264/0.7159, allocations: 15.68 MB / 1.075 GB, free: 6.629 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches