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.008577/0.008577, allocations: 101.6 kB / 15.88 MB, free: 6.324 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.001995/0.001995, allocations: 194.1 kB / 16.79 MB, free: 6.254 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.598/1.598, allocations: 222.9 MB / 240.5 MB, free: 4.434 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.462/2.462, allocations: 390.2 MB / 0.6649 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6545/0.6566, allocations: 140.4 MB / 0.9496 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003344/0.66, allocations: 2.869 MB / 0.9524 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002572/0.6626, allocations: 2.234 MB / 0.9546 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002547/0.6628, allocations: 13.25 kB / 0.9546 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.664, allocations: 381.6 kB / 0.9549 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.6645, allocations: 263.5 kB / 0.9552 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.6651, allocations: 280.6 kB / 0.9555 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001495/0.6666, allocations: 1.843 MB / 0.9573 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.6668, allocations: 147 kB / 0.9574 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007717/0.6676, allocations: 0.5409 MB / 0.9579 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006711/0.6683, allocations: 0.5672 MB / 0.9585 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.817e-05/0.6684, allocations: 38.28 kB / 0.9585 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.6685, allocations: 47.28 kB / 0.9586 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.6688, allocations: 330.3 kB / 0.9589 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004286/0.6693, allocations: 489.7 kB / 0.9593 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007031/0.67, allocations: 1.107 MB / 0.9604 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.67, allocations: 0 / 0.9604 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.02e-07/0.67, allocations: 0 / 0.9604 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.67, allocations: 1.062 kB / 0.9604 GB, free: 1.66 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.002447/0.6725, allocations: 1.497 MB / 0.9619 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.6725, allocations: 8.562 kB / 0.9619 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.6727, allocations: 109.5 kB / 0.962 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.6741, allocations: 0.9635 MB / 0.9629 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.6742, allocations: 39.31 kB / 0.963 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.6743, allocations: 53.86 kB / 0.963 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/0.6751, allocations: 0.5481 MB / 0.9636 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.6752, allocations: 5.062 kB / 0.9636 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.6752, allocations: 11.69 kB / 0.9636 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.6752, allocations: 11.97 kB / 0.9636 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005556/0.6758, allocations: 349.2 kB / 0.9639 GB, free: 15.24 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.006607/0.6824, allocations: 3.857 MB / 0.9677 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.6842, allocations: 0.6586 MB / 0.9683 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.6845, allocations: 197.1 kB / 0.9685 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.6845, allocations: 2.531 kB / 0.9685 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.6846, allocations: 40.25 kB / 0.9686 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.304e-06/0.6846, allocations: 0 / 0.9686 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.00149/0.6861, allocations: 0.7615 MB / 0.9693 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.6861, allocations: 54.62 kB / 0.9694 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.6883, allocations: 1.429 MB / 0.9707 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.6884, allocations: 44.52 kB / 0.9708 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/0.6887, allocations: 414.2 kB / 0.9712 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.689, allocations: 109.8 kB / 0.9713 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.6892, allocations: 152.6 kB / 0.9714 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6893, allocations: 336.1 kB / 0.9718 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/0.6898, allocations: 291.7 kB / 0.972 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006201/0.6904, allocations: 0.5855 MB / 0.9726 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.6914, allocations: 0.8704 MB / 0.9735 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.6915, allocations: 7.906 kB / 0.9735 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002175/0.6936, allocations: 1.257 MB / 0.9747 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.6937, allocations: 9.594 kB / 0.9747 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.6937, allocations: 22.8 kB / 0.9747 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.6951, allocations: 444.9 kB / 0.9751 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.6954, allocations: 111.8 kB / 0.9753 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005786/0.7012, allocations: 4.405 MB / 0.9796 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.7026, allocations: 222.9 kB / 0.9798 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/0.7027, allocations: 32 kB / 0.9798 GB, free: 2.168 MB / 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.0006136/0.7033, allocations: 433.3 kB / 0.9802 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.7035, allocations: 90.81 kB / 0.9803 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.7037, allocations: 104.8 kB / 0.9804 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.7037, allocations: 7.984 kB / 0.9804 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.7038, allocations: 0 / 0.9804 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7038, allocations: 0 / 0.9804 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.705, allocations: 0.9278 MB / 0.9813 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.705, allocations: 0 / 0.9813 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.7055, allocations: 99.84 kB / 0.9814 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.7056, allocations: 40.77 kB / 0.9814 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.7057, allocations: 19.98 kB / 0.9815 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.7068, allocations: 1.416 MB / 0.9828 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7068, allocations: 0 / 0.9828 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.708, allocations: 0.8254 MB / 0.9837 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004745/0.7085, allocations: 295.7 kB / 0.9839 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.7087, allocations: 15.98 kB / 0.984 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000747/0.7094, allocations: 103.8 kB / 0.9841 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.7095, allocations: 23.91 kB / 0.9841 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.7095, allocations: 4 kB / 0.9841 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001537/0.7111, allocations: 1.013 MB / 0.9851 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7111, allocations: 0 / 0.9851 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001348/0.7124, allocations: 467.7 kB / 0.9855 GB, free: 12.07 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.0001659/0.7126, allocations: 116.6 kB / 0.9856 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.7144, allocations: 0.9174 MB / 0.9865 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7144, allocations: 0 / 0.9865 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.7149, allocations: 328.1 kB / 0.9868 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.7163, allocations: 256.2 kB / 0.9871 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.7202, allocations: 2.596 MB / 0.9896 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008328/0.721, allocations: 1.141 MB / 0.9907 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.7213, allocations: 51.44 kB / 0.9908 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of SimCode: time 1.052e-06/0.7213, allocations: 0 / 0.9908 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of Templates: time 0.02489/0.7462, allocations: 17.86 MB / 1.008 GB, free: 4.797 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