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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001034/0.001034, allocations: 92.23 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 183.7 kB / 16.92 MB, free: 6.906 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 390.9 MB / 0.667 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003539, allocations: 8 kB / 0.8166 GB, free: 13.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6553, allocations: 142.4 MB / 0.9557 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.002424/0.6577, allocations: 2.52 MB / 0.9582 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002547/0.6603, allocations: 2.2 MB / 0.9603 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.6605, allocations: 13.38 kB / 0.9603 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.6615, allocations: 380.1 kB / 0.9607 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.662, allocations: 263.7 kB / 0.9609 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006426/0.6626, allocations: 286.2 kB / 0.9612 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.6643, allocations: 1.835 MB / 0.963 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.6646, allocations: 138.9 kB / 0.9631 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006638/0.6652, allocations: 0.5375 MB / 0.9636 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006203/0.6659, allocations: 0.5585 MB / 0.9642 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.253e-05/0.666, allocations: 37.56 kB / 0.9642 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.6661, allocations: 45.88 kB / 0.9643 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.6663, allocations: 324.8 kB / 0.9646 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004059/0.6667, allocations: 0.502 MB / 0.9651 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007711/0.6675, allocations: 1.079 MB / 0.9661 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6675, allocations: 1.094 kB / 0.9661 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6675, allocations: 0 / 0.9661 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.6676, allocations: 4 kB / 0.9661 GB, free: 0.543 MB / 0.7169 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.002424/0.67, allocations: 1.333 MB / 0.9674 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.67, allocations: 9.844 kB / 0.9674 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.6702, allocations: 109 kB / 0.9675 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.6718, allocations: 0.9715 MB / 0.9685 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.6718, allocations: 38.84 kB / 0.9685 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.6719, allocations: 58.66 kB / 0.9686 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.6728, allocations: 0.5426 MB / 0.9691 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.6728, allocations: 7.938 kB / 0.9691 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.6729, allocations: 12 kB / 0.9691 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.6729, allocations: 8.219 kB / 0.9691 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005524/0.6734, allocations: 356.5 kB / 0.9695 GB, free: 14.23 MB / 0.7325 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.006012/0.6795, allocations: 3.883 MB / 0.9733 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.6812, allocations: 0.6629 MB / 0.9739 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.6815, allocations: 202.5 kB / 0.9741 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.6815, allocations: 2.5 kB / 0.9741 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.6815, allocations: 36.22 kB / 0.9742 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.743e-06/0.6816, allocations: 1.406 kB / 0.9742 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.001341/0.6829, allocations: 0.7758 MB / 0.9749 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.683, allocations: 54.41 kB / 0.975 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.6849, allocations: 1.432 MB / 0.9764 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.685, allocations: 40.02 kB / 0.9764 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.6853, allocations: 410.6 kB / 0.9768 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.6855, allocations: 110.5 kB / 0.9769 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.6856, allocations: 83.45 kB / 0.977 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6858, allocations: 336 kB / 0.9773 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.6862, allocations: 294 kB / 0.9776 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/0.6868, allocations: 0.5829 MB / 0.9782 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009977/0.6878, allocations: 0.8838 MB / 0.979 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.6878, allocations: 4 kB / 0.979 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002006/0.6898, allocations: 1.255 MB / 0.9802 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.6899, allocations: 12 kB / 0.9803 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.6899, allocations: 11.98 kB / 0.9803 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.6911, allocations: 452.7 kB / 0.9807 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.6915, allocations: 115.8 kB / 0.9808 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005426/0.6969, allocations: 4.412 MB / 0.9851 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.6984, allocations: 227 kB / 0.9853 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.6984, allocations: 32 kB / 0.9854 GB, free: 60 kB / 0.7325 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.0005535/0.699, allocations: 429.3 kB / 0.9858 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.6991, allocations: 94.72 kB / 0.9859 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.6993, allocations: 104.8 kB / 0.986 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6993, allocations: 4 kB / 0.986 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6993, allocations: 0 / 0.986 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6993, allocations: 3.984 kB / 0.986 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.7004, allocations: 0.9317 MB / 0.9869 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.7004, allocations: 0 / 0.9869 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00045/0.7008, allocations: 95.84 kB / 0.987 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.701, allocations: 40.77 kB / 0.987 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/0.701, allocations: 19.98 kB / 0.987 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.7021, allocations: 1.409 MB / 0.9884 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7021, allocations: 0 / 0.9884 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.7032, allocations: 0.8409 MB / 0.9892 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.7036, allocations: 287.8 kB / 0.9895 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.7037, allocations: 19.98 kB / 0.9895 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007809/0.7045, allocations: 123.6 kB / 0.9896 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.7046, allocations: 19.91 kB / 0.9897 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.7046, allocations: 8 kB / 0.9897 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001349/0.706, allocations: 1.006 MB / 0.9906 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.706, allocations: 0 / 0.9906 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001194/0.7072, allocations: 463.8 kB / 0.9911 GB, free: 9.945 MB / 0.7481 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.0001375/0.7073, allocations: 115.3 kB / 0.9912 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.709, allocations: 0.9236 MB / 0.9921 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.709, allocations: 0 / 0.9921 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004175/0.7094, allocations: 324.5 kB / 0.9924 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.7107, allocations: 266.7 kB / 0.9927 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.7141, allocations: 2.751 MB / 0.9954 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/0.7149, allocations: 1.145 MB / 0.9965 GB, free: 4.336 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.7151, allocations: 51.44 kB / 0.9965 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of SimCode: time 3.51e-07/0.7151, allocations: 0 / 0.9965 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of Templates: time 0.02255/0.7376, allocations: 17.75 MB / 1.014 GB, free: 2.621 MB / 0.7637 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches