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.001144/0.001144, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001576/0.001576, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.866/2.866, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.000368, allocations: 9.25 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3402, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003236/0.3435, allocations: 2.522 MB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003266/0.3468, allocations: 2.212 MB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003337/0.3471, allocations: 7.938 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.3484, allocations: 386.3 kB / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006029/0.349, allocations: 258.9 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008054/0.3498, allocations: 286.5 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002104/0.3519, allocations: 1.837 MB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.3522, allocations: 141.9 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009683/0.3532, allocations: 0.5374 MB / 1.067 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.3543, allocations: 0.5528 MB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002355/0.3545, allocations: 36 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.3548, allocations: 44 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00042/0.3552, allocations: 327 kB / 1.068 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006646/0.3559, allocations: 0.4991 MB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.3571, allocations: 1.277 MB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3571, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3571, allocations: 3.938 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.016e-05/0.3572, allocations: 0 / 1.069 GB, free: 10.55 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.002962/0.3602, allocations: 1.335 MB / 1.071 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.3602, allocations: 16.02 kB / 1.071 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003694/0.3606, allocations: 107.6 kB / 1.071 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.3623, allocations: 0.9844 MB / 1.072 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.3623, allocations: 33.03 kB / 1.072 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.3624, allocations: 52.38 kB / 1.072 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008728/0.3633, allocations: 0.551 MB / 1.072 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3633, allocations: 3.938 kB / 1.072 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.3634, allocations: 16 kB / 1.072 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.3634, allocations: 8 kB / 1.072 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.364, allocations: 341.9 kB / 1.073 GB, free: 6.957 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.006523/0.3705, allocations: 3.886 MB / 1.076 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.3722, allocations: 0.6582 MB / 1.077 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.3725, allocations: 200.7 kB / 1.077 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.3726, allocations: 3.984 kB / 1.077 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.3726, allocations: 38.56 kB / 1.077 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.3726, allocations: 0 / 1.077 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.00131/0.3739, allocations: 0.7658 MB / 1.078 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.374, allocations: 55.41 kB / 1.078 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.376, allocations: 1.436 MB / 1.08 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.3761, allocations: 37.7 kB / 1.08 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.3764, allocations: 416.8 kB / 1.08 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.3766, allocations: 102.5 kB / 1.08 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3767, allocations: 89.67 kB / 1.08 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3768, allocations: 334 kB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.3772, allocations: 289.1 kB / 1.081 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/0.3778, allocations: 0.5901 MB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.3789, allocations: 0.8941 MB / 1.082 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.3789, allocations: 4 kB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001954/0.3808, allocations: 1.246 MB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.3809, allocations: 14.19 kB / 1.083 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.3809, allocations: 12 kB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.3821, allocations: 454.4 kB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.3825, allocations: 119.8 kB / 1.084 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00561/0.3881, allocations: 4.401 MB / 1.088 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.3894, allocations: 227 kB / 1.088 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.3894, allocations: 36 kB / 1.089 GB, free: 5.902 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.000531/0.39, allocations: 429.3 kB / 1.089 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.3902, allocations: 94.72 kB / 1.089 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.3904, allocations: 100.8 kB / 1.089 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3904, allocations: 7.938 kB / 1.089 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3904, allocations: 4 kB / 1.089 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3904, allocations: 0 / 1.089 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.3915, allocations: 0.9317 MB / 1.09 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3915, allocations: 0 / 1.09 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004419/0.392, allocations: 91.84 kB / 1.09 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001454/0.3921, allocations: 44.77 kB / 1.09 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.3922, allocations: 15.98 kB / 1.09 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.3932, allocations: 1.432 MB / 1.092 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3932, allocations: 0 / 1.092 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.3943, allocations: 0.8227 MB / 1.092 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/0.3948, allocations: 295.8 kB / 1.093 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.3949, allocations: 19.98 kB / 1.093 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007607/0.3957, allocations: 111.8 kB / 1.093 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.3958, allocations: 20.02 kB / 1.093 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.3958, allocations: 4 kB / 1.093 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001511/0.3973, allocations: 1.006 MB / 1.094 GB, free: 256 kB / 0.8419 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3973, allocations: 0 / 1.094 GB, free: 256 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001174/0.3985, allocations: 463.8 kB / 1.094 GB, free: 15.79 MB / 0.8575 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.0001403/0.3987, allocations: 115.2 kB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.4005, allocations: 0.9322 MB / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4005, allocations: 4 kB / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.4009, allocations: 330.7 kB / 1.096 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.4023, allocations: 264.8 kB / 1.096 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.406, allocations: 2.707 MB / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008369/0.4069, allocations: 1.152 MB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006164/0.4075, allocations: 246.5 kB / 1.1 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.4077, allocations: 51.44 kB / 1.1 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.4077, allocations: 0 / 1.1 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of Templates: time 0.02787/0.4356, allocations: 14.78 MB / 1.114 GB, free: 11.31 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