Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001495/0.001496, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001214/0.001214, allocations: 195.4 kB / 16.14 MB, free: 6.719 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 60.64 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3798, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003978/0.3838, allocations: 2.88 MB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003076/0.3869, allocations: 2.239 MB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.3871, allocations: 11.88 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.3884, allocations: 390.3 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.3889, allocations: 258.9 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007026/0.3896, allocations: 286.7 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001978/0.3916, allocations: 1.841 MB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.3919, allocations: 145.9 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009512/0.3928, allocations: 0.5374 MB / 1.06 GB, free: 228 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008565/0.3937, allocations: 0.5569 MB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.752e-05/0.3938, allocations: 40 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.394, allocations: 48 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004248/0.3944, allocations: 338.9 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006068/0.395, allocations: 485.4 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.3963, allocations: 1.293 MB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.3963, allocations: 0 / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3963, allocations: 0 / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.865e-05/0.3963, allocations: 0 / 1.063 GB, free: 13.47 MB / 0.8262 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.002935/0.3993, allocations: 1.506 MB / 1.065 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3993, allocations: 8.031 kB / 1.065 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.3995, allocations: 111.6 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.401, allocations: 0.9689 MB / 1.066 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.4011, allocations: 37.02 kB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.4012, allocations: 60.28 kB / 1.066 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008678/0.402, allocations: 0.547 MB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.4021, allocations: 4 kB / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.4021, allocations: 12 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.4021, allocations: 8 kB / 1.066 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005347/0.4027, allocations: 349.8 kB / 1.067 GB, free: 9.719 MB / 0.8262 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.006111/0.4088, allocations: 3.847 MB / 1.07 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.4106, allocations: 0.6582 MB / 1.071 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.4109, allocations: 196.7 kB / 1.071 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.4109, allocations: 11.94 kB / 1.071 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.411, allocations: 34.56 kB / 1.071 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.411, allocations: 0 / 1.071 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.001376/0.4124, allocations: 0.758 MB / 1.072 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.4124, allocations: 59.39 kB / 1.072 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.4142, allocations: 1.433 MB / 1.073 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.4143, allocations: 45.64 kB / 1.074 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/0.4146, allocations: 420.7 kB / 1.074 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.4148, allocations: 102.5 kB / 1.074 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.415, allocations: 158.2 kB / 1.074 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4151, allocations: 330 kB / 1.074 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.4155, allocations: 289.1 kB / 1.075 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005907/0.4161, allocations: 0.5863 MB / 1.075 GB, free: 324 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.4172, allocations: 0.8864 MB / 1.076 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.4172, allocations: 4 kB / 1.076 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001955/0.4192, allocations: 1.247 MB / 1.077 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.4192, allocations: 12 kB / 1.077 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.4192, allocations: 8 kB / 1.077 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.4206, allocations: 448.4 kB / 1.078 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.4209, allocations: 111.8 kB / 1.078 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005675/0.4265, allocations: 4.397 MB / 1.082 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.4278, allocations: 227 kB / 1.082 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.384e-05/0.4279, allocations: 32 kB / 1.083 GB, free: 8.676 MB / 0.8419 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.0006134/0.4285, allocations: 429.3 kB / 1.083 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/0.4288, allocations: 94.72 kB / 1.083 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.429, allocations: 104.8 kB / 1.083 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.429, allocations: 4 kB / 1.083 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.429, allocations: 3.984 kB / 1.083 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.429, allocations: 0 / 1.083 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.4302, allocations: 0.9356 MB / 1.084 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4302, allocations: 0 / 1.084 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.4306, allocations: 95.84 kB / 1.084 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001533/0.4308, allocations: 40.77 kB / 1.084 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/0.4309, allocations: 19.98 kB / 1.084 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.432, allocations: 1.412 MB / 1.086 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.432, allocations: 0 / 1.086 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.4332, allocations: 0.8306 MB / 1.086 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.4337, allocations: 295.7 kB / 1.087 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.4338, allocations: 15.98 kB / 1.087 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/0.4346, allocations: 107.8 kB / 1.087 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.4347, allocations: 15.97 kB / 1.087 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.4347, allocations: 15.94 kB / 1.087 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001556/0.4363, allocations: 1.006 MB / 1.088 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4363, allocations: 192 / 1.088 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001313/0.4376, allocations: 467.7 kB / 1.088 GB, free: 2.57 MB / 0.8419 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.0001664/0.4378, allocations: 122 kB / 1.088 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001848/0.4396, allocations: 0.9247 MB / 1.089 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4396, allocations: 4.062 kB / 1.089 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004285/0.4401, allocations: 322.5 kB / 1.09 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.4414, allocations: 260.6 kB / 1.09 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.4452, allocations: 2.551 MB / 1.092 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008797/0.4461, allocations: 1.152 MB / 1.093 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006447/0.4468, allocations: 238.5 kB / 1.094 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.447, allocations: 51.44 kB / 1.094 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of SimCode: time 6.32e-07/0.4471, allocations: 4 kB / 1.094 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of Templates: time 0.02571/0.4728, allocations: 15.07 MB / 1.108 GB, free: 13.98 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches