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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008686/0.0008686, allocations: 92.55 kB / 16.02 MB, free: 80 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.001141/0.001141, allocations: 176.4 kB / 16.92 MB, free: 6.652 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.451/1.451, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.658/2.658, allocations: 437.8 MB / 0.7128 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003624, allocations: 8 kB / 0.8735 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6468/0.6472, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003006/0.6503, allocations: 2.527 MB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003145/0.6534, allocations: 2.199 MB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.6538, allocations: 7.938 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.655, allocations: 382.3 kB / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006218/0.6556, allocations: 262.9 kB / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007863/0.6565, allocations: 294.9 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001957/0.6584, allocations: 1.833 MB / 1.031 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.6587, allocations: 137.9 kB / 1.031 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000859/0.6595, allocations: 0.5373 MB / 1.032 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008608/0.6604, allocations: 0.5567 MB / 1.032 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.6606, allocations: 36 kB / 1.032 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.6608, allocations: 44 kB / 1.032 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.6611, allocations: 331 kB / 1.033 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005983/0.6617, allocations: 0.4952 MB / 1.033 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008744/0.6626, allocations: 1.079 MB / 1.034 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6626, allocations: 0 / 1.034 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6626, allocations: 8 kB / 1.034 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.636e-05/0.6626, allocations: 0 / 1.034 GB, free: 5.133 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.002632/0.6653, allocations: 1.331 MB / 1.035 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.6653, allocations: 11.98 kB / 1.035 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003036/0.6656, allocations: 111.6 kB / 1.036 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.6672, allocations: 0.9727 MB / 1.036 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.6673, allocations: 37.03 kB / 1.037 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.6674, allocations: 60.27 kB / 1.037 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007763/0.6682, allocations: 0.5471 MB / 1.037 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6682, allocations: 0 / 1.037 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.6682, allocations: 12 kB / 1.037 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.6682, allocations: 8 kB / 1.037 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005426/0.6688, allocations: 357.8 kB / 1.037 GB, free: 1.547 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.005867/0.6747, allocations: 3.878 MB / 1.041 GB, free: 13.41 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.6763, allocations: 0.6665 MB / 1.042 GB, free: 12.73 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.6766, allocations: 204.7 kB / 1.042 GB, free: 12.53 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.6766, allocations: 4 kB / 1.042 GB, free: 12.53 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.6767, allocations: 30.56 kB / 1.042 GB, free: 12.49 MB / 0.795 GB Notification: Performance of pre-optimization done (n=26): time 1.382e-06/0.6767, allocations: 0 / 1.042 GB, free: 12.49 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.00126/0.6779, allocations: 0.7777 MB / 1.043 GB, free: 11.68 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.678, allocations: 55.41 kB / 1.043 GB, free: 11.62 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.6799, allocations: 1.429 MB / 1.044 GB, free: 10.17 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.68, allocations: 37.7 kB / 1.044 GB, free: 10.12 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.6803, allocations: 416.8 kB / 1.045 GB, free: 9.711 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.6805, allocations: 110.5 kB / 1.045 GB, free: 9.602 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-05/0.6806, allocations: 77.67 kB / 1.045 GB, free: 9.52 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6807, allocations: 345.9 kB / 1.045 GB, free: 9.176 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.6811, allocations: 285.1 kB / 1.046 GB, free: 8.895 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.6817, allocations: 0.5863 MB / 1.046 GB, free: 8.164 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009968/0.6827, allocations: 0.8832 MB / 1.047 GB, free: 7.137 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.6827, allocations: 4 kB / 1.047 GB, free: 7.133 MB / 0.795 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001957/0.6847, allocations: 1.258 MB / 1.048 GB, free: 5.863 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6847, allocations: 9.719 kB / 1.048 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.6847, allocations: 12 kB / 1.048 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.686, allocations: 457.2 kB / 1.049 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.6863, allocations: 119.7 kB / 1.049 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005364/0.6916, allocations: 4.408 MB / 1.053 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.6929, allocations: 227 kB / 1.053 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/0.693, allocations: 28 kB / 1.053 GB, free: 0.4922 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.0005135/0.6935, allocations: 433.8 kB / 1.054 GB, free: 60 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.6937, allocations: 98.77 kB / 1.054 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.6939, allocations: 104.8 kB / 1.054 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6939, allocations: 0 / 1.054 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6939, allocations: 0 / 1.054 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.6939, allocations: 7.984 kB / 1.054 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.695, allocations: 0.9317 MB / 1.055 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.695, allocations: 0 / 1.055 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.6954, allocations: 87.92 kB / 1.055 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/0.6956, allocations: 48.69 kB / 1.055 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.6956, allocations: 19.98 kB / 1.055 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.6967, allocations: 1.405 MB / 1.056 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6967, allocations: 4.031 kB / 1.056 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.6978, allocations: 0.8383 MB / 1.057 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.6982, allocations: 291.8 kB / 1.057 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.6984, allocations: 23.98 kB / 1.058 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00077/0.6992, allocations: 107.7 kB / 1.058 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.6992, allocations: 19.97 kB / 1.058 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.6993, allocations: 8 kB / 1.058 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001419/0.7007, allocations: 1.006 MB / 1.059 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 6.31e-07/0.7007, allocations: 0 / 1.059 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001145/0.7019, allocations: 463.9 kB / 1.059 GB, free: 10.38 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.0001426/0.702, allocations: 119.8 kB / 1.059 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.7037, allocations: 0.9235 MB / 1.06 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7037, allocations: 0 / 1.06 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004152/0.7042, allocations: 331.9 kB / 1.06 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.7055, allocations: 264.1 kB / 1.061 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.7091, allocations: 2.754 MB / 1.063 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007528/0.7098, allocations: 1.145 MB / 1.064 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.71, allocations: 51.44 kB / 1.065 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of SimCode: time 6.92e-07/0.71, allocations: 0 / 1.065 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of Templates: time 0.02325/0.7333, allocations: 17.74 MB / 1.082 GB, free: 3.039 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches