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.001692/0.001692, allocations: 106.7 kB / 16.41 MB, free: 6.484 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.001769/0.001769, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.525/2.525, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 60.12 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7479/0.7492, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004189/0.7535, allocations: 2.828 MB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003758/0.7573, allocations: 2.208 MB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005068/0.7578, allocations: 19.88 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.7593, allocations: 407.9 kB / 1.214 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007715/0.7601, allocations: 274.7 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009742/0.7611, allocations: 347.2 kB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00192/0.7631, allocations: 1.689 MB / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.7633, allocations: 152.1 kB / 1.216 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009256/0.7643, allocations: 0.6 MB / 1.217 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007906/0.7651, allocations: 494.2 kB / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.7653, allocations: 64 kB / 1.217 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.7655, allocations: 64 kB / 1.217 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004345/0.7659, allocations: 410.8 kB / 1.218 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008294/0.7668, allocations: 0.5249 MB / 1.218 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.7682, allocations: 1.332 MB / 1.219 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.7682, allocations: 0 / 1.219 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.295e-06/0.7682, allocations: 0 / 1.219 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.932e-05/0.7683, allocations: 0 / 1.219 GB, free: 2.258 MB / 0.9356 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.003383/0.7717, allocations: 1.494 MB / 1.221 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.7717, allocations: 8.031 kB / 1.221 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.772, allocations: 111.6 kB / 1.221 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.7737, allocations: 1 MB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.7738, allocations: 37.03 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/0.7739, allocations: 56.27 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007822/0.7747, allocations: 0.5471 MB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.7747, allocations: 4 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.7747, allocations: 12 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.7747, allocations: 8 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.7753, allocations: 345.8 kB / 1.223 GB, free: 14.5 MB / 0.9512 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.006305/0.7816, allocations: 3.835 MB / 1.227 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.7833, allocations: 0.6621 MB / 1.227 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.7836, allocations: 200.7 kB / 1.228 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.7837, allocations: 4 kB / 1.228 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.7837, allocations: 35 kB / 1.228 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=26): time 2.555e-06/0.7837, allocations: 0 / 1.228 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=26): time 0.001359/0.7851, allocations: 0.7647 MB / 1.228 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.7851, allocations: 59.39 kB / 1.228 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.787, allocations: 1.413 MB / 1.23 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.7871, allocations: 45.69 kB / 1.23 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.7874, allocations: 408.8 kB / 1.23 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.7876, allocations: 114.5 kB / 1.23 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.7878, allocations: 146.2 kB / 1.23 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7879, allocations: 338 kB / 1.231 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.7883, allocations: 293.1 kB / 1.231 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.7889, allocations: 0.5785 MB / 1.232 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009991/0.7899, allocations: 0.8787 MB / 1.233 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.7899, allocations: 3.938 kB / 1.233 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001924/0.7919, allocations: 1.258 MB / 1.234 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.7919, allocations: 8 kB / 1.234 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.7919, allocations: 15.94 kB / 1.234 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.7931, allocations: 452.6 kB / 1.234 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.7934, allocations: 103.8 kB / 1.234 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00576/0.7992, allocations: 4.696 MB / 1.239 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.8005, allocations: 218.9 kB / 1.239 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.8005, allocations: 32 kB / 1.239 GB, free: 13.18 MB / 0.9669 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.0005317/0.8011, allocations: 425.3 kB / 1.24 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.8013, allocations: 90.78 kB / 1.24 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.8015, allocations: 108.8 kB / 1.24 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.8015, allocations: 8 kB / 1.24 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8016, allocations: 4.062 kB / 1.24 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.8016, allocations: 0 / 1.24 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.8026, allocations: 0.9277 MB / 1.241 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8026, allocations: 4 kB / 1.241 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.8031, allocations: 87.84 kB / 1.241 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001489/0.8033, allocations: 40.83 kB / 1.241 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.8033, allocations: 19.98 kB / 1.241 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.8044, allocations: 1.538 MB / 1.242 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8044, allocations: 0 / 1.242 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.8056, allocations: 0.8155 MB / 1.243 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005409/0.8061, allocations: 291.9 kB / 1.243 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.8063, allocations: 15.98 kB / 1.243 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006867/0.807, allocations: 99.89 kB / 1.243 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.8071, allocations: 23.91 kB / 1.243 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.8071, allocations: 4 kB / 1.244 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00136/0.8084, allocations: 0.9939 MB / 1.244 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8085, allocations: 0 / 1.244 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001211/0.8097, allocations: 467.7 kB / 1.245 GB, free: 6.992 MB / 0.9669 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.0001436/0.8098, allocations: 116.6 kB / 1.245 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.8115, allocations: 0.924 MB / 1.246 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8115, allocations: 0 / 1.246 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.8119, allocations: 322.5 kB / 1.246 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.8131, allocations: 280.2 kB / 1.247 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.8162, allocations: 2.339 MB / 1.249 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000708/0.8169, allocations: 1.136 MB / 1.25 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.8171, allocations: 59.44 kB / 1.25 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of SimCode: time 6.51e-07/0.8171, allocations: 4 kB / 1.25 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.02283/0.84, allocations: 17.97 MB / 1.268 GB, free: 15.83 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches