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.001215/0.001216, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01198/0.01198, allocations: 169.7 kB / 16.27 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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.63/2.63, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.000384, allocations: 8.281 kB / 0.8728 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7074/0.7078, allocations: 153.8 MB / 1.023 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.00322/0.7111, allocations: 2.516 MB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003623/0.7147, allocations: 2.2 MB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004791/0.7152, allocations: 11.88 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.7167, allocations: 390.3 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007878/0.7176, allocations: 258.9 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.7186, allocations: 287.3 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002301/0.7209, allocations: 1.841 MB / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.7212, allocations: 133.9 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.7225, allocations: 0.5335 MB / 1.031 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.7235, allocations: 0.5567 MB / 1.032 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002099/0.7238, allocations: 36 kB / 1.032 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.7241, allocations: 44 kB / 1.032 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.7245, allocations: 327 kB / 1.032 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000706/0.7252, allocations: 0.4991 MB / 1.032 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.7264, allocations: 1.277 MB / 1.034 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7264, allocations: 0 / 1.034 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7265, allocations: 0 / 1.034 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.439e-05/0.7265, allocations: 0 / 1.034 GB, free: 5.184 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.002777/0.7293, allocations: 1.339 MB / 1.035 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.7293, allocations: 19.92 kB / 1.035 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003614/0.7297, allocations: 107.6 kB / 1.035 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.7315, allocations: 0.9767 MB / 1.036 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.7315, allocations: 29.03 kB / 1.036 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.7316, allocations: 60.27 kB / 1.036 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008158/0.7325, allocations: 0.5471 MB / 1.037 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.7325, allocations: 3.938 kB / 1.037 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.7325, allocations: 12 kB / 1.037 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.7325, allocations: 12 kB / 1.037 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.7331, allocations: 349.8 kB / 1.037 GB, free: 1.59 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.005949/0.739, allocations: 3.886 MB / 1.041 GB, free: 13.45 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.7407, allocations: 0.6628 MB / 1.041 GB, free: 12.77 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.7411, allocations: 202.2 kB / 1.042 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.7411, allocations: 0 / 1.042 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.7411, allocations: 42.5 kB / 1.042 GB, free: 12.52 MB / 0.795 GB Notification: Performance of pre-optimization done (n=26): time 1.763e-06/0.7411, allocations: 0 / 1.042 GB, free: 12.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.001357/0.7425, allocations: 0.7694 MB / 1.042 GB, free: 11.73 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.7425, allocations: 51.41 kB / 1.042 GB, free: 11.66 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.7446, allocations: 1.436 MB / 1.044 GB, free: 10.21 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.7446, allocations: 41.7 kB / 1.044 GB, free: 10.16 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.745, allocations: 408.8 kB / 1.044 GB, free: 9.754 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.7452, allocations: 114.5 kB / 1.044 GB, free: 9.641 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.7453, allocations: 85.67 kB / 1.044 GB, free: 9.551 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.7454, allocations: 330 kB / 1.045 GB, free: 9.223 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.7459, allocations: 293 kB / 1.045 GB, free: 8.934 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.7465, allocations: 0.5902 MB / 1.046 GB, free: 8.199 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009913/0.7475, allocations: 0.8832 MB / 1.047 GB, free: 7.172 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.7475, allocations: 4 kB / 1.047 GB, free: 7.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00194/0.7494, allocations: 1.25 MB / 1.048 GB, free: 5.906 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.7495, allocations: 15.98 kB / 1.048 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.7495, allocations: 8 kB / 1.048 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.7507, allocations: 455.4 kB / 1.048 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.751, allocations: 119.8 kB / 1.048 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005419/0.7564, allocations: 4.401 MB / 1.053 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.7577, allocations: 227 kB / 1.053 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.7578, allocations: 32 kB / 1.053 GB, free: 0.5352 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.000489/0.7583, allocations: 433.9 kB / 1.053 GB, free: 104 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.7584, allocations: 94.72 kB / 1.053 GB, free: 8 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.7587, allocations: 104.8 kB / 1.053 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.7587, allocations: 4 kB / 1.053 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7587, allocations: 0 / 1.053 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.7587, allocations: 3.984 kB / 1.053 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.7597, allocations: 0.9355 MB / 1.054 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7597, allocations: 0 / 1.054 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.7602, allocations: 99.84 kB / 1.054 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/0.7603, allocations: 44.77 kB / 1.055 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.7604, allocations: 11.98 kB / 1.055 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.7614, allocations: 1.413 MB / 1.056 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7614, allocations: 0 / 1.056 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.7625, allocations: 0.8385 MB / 1.057 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.7629, allocations: 291.8 kB / 1.057 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.763, allocations: 19.98 kB / 1.057 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007425/0.7638, allocations: 115.7 kB / 1.057 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.7639, allocations: 19.97 kB / 1.057 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.7639, allocations: 8 kB / 1.057 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001346/0.7652, allocations: 1.002 MB / 1.058 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7652, allocations: 0 / 1.058 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001092/0.7663, allocations: 463.8 kB / 1.059 GB, free: 10.42 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.0001477/0.7665, allocations: 115.2 kB / 1.059 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.7682, allocations: 0.9362 MB / 1.06 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.7682, allocations: 0 / 1.06 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004209/0.7686, allocations: 322.5 kB / 1.06 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.7699, allocations: 264.7 kB / 1.06 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.7735, allocations: 2.714 MB / 1.063 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008865/0.7744, allocations: 1.149 MB / 1.064 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006249/0.775, allocations: 246.5 kB / 1.064 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.7753, allocations: 55.42 kB / 1.064 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.7753, allocations: 0 / 1.064 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of Templates: time 0.02702/0.8023, allocations: 14.78 MB / 1.079 GB, free: 5.949 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches