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.0008128/0.000813, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008557/0.0008558, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 240 MB, free: 5.293 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.655/2.655, allocations: 390.9 MB / 0.666 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 8 kB / 0.8153 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7572/0.7575, allocations: 142.4 MB / 0.9544 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.002853/0.7604, allocations: 2.427 MB / 0.9568 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003057/0.7635, allocations: 2.057 MB / 0.9588 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.7639, allocations: 9.906 kB / 0.9588 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.765, allocations: 371.4 kB / 0.9592 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004304/0.7654, allocations: 237.6 kB / 0.9594 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006582/0.7661, allocations: 254.7 kB / 0.9596 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001635/0.7677, allocations: 1.53 MB / 0.9611 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.768, allocations: 127.4 kB / 0.9612 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007853/0.7687, allocations: 0.5743 MB / 0.9618 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006733/0.7694, allocations: 0.552 MB / 0.9623 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.668e-05/0.7695, allocations: 37.06 kB / 0.9624 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.7696, allocations: 41.28 kB / 0.9624 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.77, allocations: 342.2 kB / 0.9627 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.7702, allocations: 219 kB / 0.963 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008379/0.771, allocations: 1.081 MB / 0.964 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.771, allocations: 0 / 0.964 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.771, allocations: 4.625 kB / 0.964 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.7711, allocations: 0 / 0.964 GB, free: 1.168 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.002314/0.7734, allocations: 1.352 MB / 0.9653 GB, free: 188 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.7734, allocations: 8.75 kB / 0.9653 GB, free: 188 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.7736, allocations: 117 kB / 0.9655 GB, free: 124 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.7752, allocations: 0.9404 MB / 0.9664 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.7753, allocations: 34.06 kB / 0.9664 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.7754, allocations: 49.81 kB / 0.9665 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008508/0.7763, allocations: 0.5402 MB / 0.967 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.7763, allocations: 1 kB / 0.967 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.7763, allocations: 16.09 kB / 0.967 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.7763, allocations: 11.67 kB / 0.967 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.7769, allocations: 356 kB / 0.9673 GB, free: 14.89 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.005709/0.7826, allocations: 3.887 MB / 0.9711 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.7844, allocations: 0.6663 MB / 0.9718 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.7847, allocations: 197.5 kB / 0.972 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.7847, allocations: 3.094 kB / 0.972 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.7847, allocations: 40.27 kB / 0.972 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.084e-06/0.7847, allocations: 0 / 0.972 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.001443/0.7862, allocations: 0.7691 MB / 0.9728 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.7862, allocations: 53 kB / 0.9728 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.7882, allocations: 1.428 MB / 0.9742 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/0.7883, allocations: 37.11 kB / 0.9743 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.7886, allocations: 417.4 kB / 0.9747 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.7888, allocations: 106 kB / 0.9748 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.7889, allocations: 14.47 kB / 0.9748 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.789, allocations: 337.4 kB / 0.9751 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005877/0.7896, allocations: 282 kB / 0.9754 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/0.7902, allocations: 0.5847 MB / 0.9759 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.7908, allocations: 381.7 kB / 0.9763 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.7908, allocations: 3.719 kB / 0.9763 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001951/0.7928, allocations: 1.255 MB / 0.9775 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.7928, allocations: 12 kB / 0.9775 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.7928, allocations: 8 kB / 0.9775 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.794, allocations: 448.7 kB / 0.978 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.7943, allocations: 119.8 kB / 0.9781 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005409/0.7997, allocations: 4.415 MB / 0.9824 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.8011, allocations: 222.9 kB / 0.9826 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.8012, allocations: 32 kB / 0.9826 GB, free: 1.762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006477/0.8019, allocations: 437.3 kB / 0.9831 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.8021, allocations: 90.88 kB / 0.9831 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.8022, allocations: 104.8 kB / 0.9832 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.8023, allocations: 0 / 0.9832 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.8023, allocations: 4 kB / 0.9832 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.8023, allocations: 0 / 0.9832 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.8033, allocations: 0.9239 MB / 0.9841 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8033, allocations: 0 / 0.9841 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.8038, allocations: 91.91 kB / 0.9842 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.8039, allocations: 48.77 kB / 0.9843 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/0.804, allocations: 16.06 kB / 0.9843 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.805, allocations: 1.424 MB / 0.9857 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.8051, allocations: 4.031 kB / 0.9857 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.8062, allocations: 0.8298 MB / 0.9865 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004649/0.8067, allocations: 295.7 kB / 0.9868 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.8068, allocations: 19.98 kB / 0.9868 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006712/0.8075, allocations: 103.8 kB / 0.9869 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.8076, allocations: 15.97 kB / 0.9869 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.8076, allocations: 8 kB / 0.9869 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001454/0.809, allocations: 1.002 MB / 0.9879 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.81e-07/0.809, allocations: 0 / 0.9879 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001288/0.8103, allocations: 467.7 kB / 0.9884 GB, free: 11.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001533/0.8105, allocations: 115.1 kB / 0.9885 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.8123, allocations: 0.933 MB / 0.9894 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8123, allocations: 0 / 0.9894 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004237/0.8127, allocations: 332.1 kB / 0.9897 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.8139, allocations: 265.4 kB / 0.9899 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.8174, allocations: 2.653 MB / 0.9925 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007662/0.8182, allocations: 1.149 MB / 0.9937 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006117/0.8188, allocations: 242.5 kB / 0.9939 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.819, allocations: 55.42 kB / 0.9939 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of SimCode: time 9.72e-07/0.819, allocations: 0 / 0.9939 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of Templates: time 0.02389/0.8429, allocations: 14.4 MB / 1.008 GB, free: 7.648 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches