Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009342/0.009342, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001763/0.001763, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 72.09 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8675/0.8689, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004194/0.8732, allocations: 2.848 MB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003142/0.8763, allocations: 2.209 MB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004556/0.8768, allocations: 15.28 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.8783, allocations: 402.5 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000623/0.8789, allocations: 285.3 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.88, allocations: 345 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002183/0.8822, allocations: 1.694 MB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.8825, allocations: 151.7 kB / 1.096 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.8836, allocations: 0.6022 MB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007319/0.8843, allocations: 484.5 kB / 1.097 GB, free: 332 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.8844, allocations: 64.06 kB / 1.097 GB, free: 332 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.8846, allocations: 66.81 kB / 1.097 GB, free: 332 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004815/0.8851, allocations: 416.1 kB / 1.097 GB, free: 180 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006444/0.8858, allocations: 0.5229 MB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.8874, allocations: 1.333 MB / 1.099 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8874, allocations: 0.625 kB / 1.099 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8874, allocations: 0 / 1.099 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.092e-05/0.8874, allocations: 1.188 kB / 1.099 GB, free: 15.4 MB / 0.8731 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.003274/0.8907, allocations: 1.524 MB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.8908, allocations: 8.625 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.891, allocations: 115.3 kB / 1.101 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/0.8931, allocations: 1.008 MB / 1.102 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.8932, allocations: 38.91 kB / 1.102 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.8933, allocations: 51.03 kB / 1.102 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000906/0.8942, allocations: 0.5456 MB / 1.102 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.8942, allocations: 2.016 kB / 1.102 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.8943, allocations: 19.31 kB / 1.102 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.8943, allocations: 8.531 kB / 1.102 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/0.8949, allocations: 344.1 kB / 1.103 GB, free: 13.41 MB / 0.8731 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.006829/0.9017, allocations: 3.85 MB / 1.106 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.9035, allocations: 0.6643 MB / 1.107 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.9039, allocations: 196.4 kB / 1.107 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.9039, allocations: 2.656 kB / 1.107 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.9039, allocations: 33.45 kB / 1.107 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.184e-06/0.9039, allocations: 0 / 1.107 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.0017/0.9056, allocations: 0.7637 MB / 1.108 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.9057, allocations: 57.97 kB / 1.108 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.9083, allocations: 1.414 MB / 1.109 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.9e-05/0.9084, allocations: 35.98 kB / 1.109 GB, free: 9.598 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005151/0.9089, allocations: 421.1 kB / 1.11 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/0.9093, allocations: 116 kB / 1.11 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.9096, allocations: 155.3 kB / 1.11 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.9098, allocations: 335.7 kB / 1.11 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/0.9103, allocations: 290.8 kB / 1.111 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/0.911, allocations: 0.5798 MB / 1.111 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.9121, allocations: 0.8756 MB / 1.112 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.9121, allocations: 2.781 kB / 1.112 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00261/0.9147, allocations: 1.263 MB / 1.113 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.9148, allocations: 10.06 kB / 1.113 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.9148, allocations: 10.78 kB / 1.113 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.9162, allocations: 461.8 kB / 1.114 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.9165, allocations: 108.2 kB / 1.114 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007601/0.9242, allocations: 4.695 MB / 1.118 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.9261, allocations: 227.8 kB / 1.119 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.488e-05/0.9261, allocations: 31.62 kB / 1.119 GB, free: 4.504 MB / 0.8731 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.0008072/0.927, allocations: 425.5 kB / 1.119 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/0.9273, allocations: 92.95 kB / 1.119 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.9276, allocations: 105.3 kB / 1.119 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.9276, allocations: 6.25 kB / 1.119 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.9276, allocations: 1 kB / 1.119 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.9276, allocations: 2.688 kB / 1.119 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.9295, allocations: 0.9256 MB / 1.12 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.9295, allocations: 1.406 kB / 1.12 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.93, allocations: 92.83 kB / 1.12 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.9302, allocations: 42.88 kB / 1.12 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.9302, allocations: 19.33 kB / 1.12 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.9315, allocations: 1.53 MB / 1.122 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9315, allocations: 0.5156 kB / 1.122 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.933, allocations: 0.8326 MB / 1.123 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007317/0.9338, allocations: 294.9 kB / 1.123 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.9339, allocations: 19.38 kB / 1.123 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000782/0.9347, allocations: 104.1 kB / 1.123 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.9348, allocations: 18.41 kB / 1.123 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.9349, allocations: 8.844 kB / 1.123 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002011/0.9369, allocations: 0.9937 MB / 1.124 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9369, allocations: 0 / 1.124 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001677/0.9386, allocations: 464.7 kB / 1.125 GB, free: 1.234 MB / 0.8731 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.0001738/0.9387, allocations: 118.3 kB / 1.125 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002108/0.9409, allocations: 0.9239 MB / 1.126 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.9409, allocations: 0 / 1.126 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004844/0.9414, allocations: 331.8 kB / 1.126 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.943, allocations: 276.7 kB / 1.126 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004534/0.9476, allocations: 2.306 MB / 1.128 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/0.949, allocations: 1.166 MB / 1.13 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001154/0.9502, allocations: 259.5 kB / 1.13 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.9505, allocations: 53.12 kB / 1.13 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of SimCode: time 2.154e-06/0.9505, allocations: 0 / 1.13 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of Templates: time 0.03423/0.9848, allocations: 15.75 MB / 1.145 GB, free: 9.227 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches