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.001441/0.001441, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001351/0.001351, allocations: 192.6 kB / 16.25 MB, free: 6.621 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.348/1.348, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.392/2.392, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 55.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.671, allocations: 140.4 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003687/0.6747, allocations: 2.885 MB / 0.9519 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002717/0.6775, allocations: 2.194 MB / 0.954 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.6778, allocations: 14.28 kB / 0.954 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.679, allocations: 391.4 kB / 0.9544 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.6795, allocations: 255.8 kB / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008536/0.6803, allocations: 317.2 kB / 0.955 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001653/0.682, allocations: 1.729 MB / 0.9567 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.6823, allocations: 150 kB / 0.9568 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009185/0.6832, allocations: 0.6403 MB / 0.9574 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000892/0.6841, allocations: 0.6189 MB / 0.958 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.6843, allocations: 75.59 kB / 0.9581 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.6845, allocations: 87.69 kB / 0.9582 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.6848, allocations: 381.1 kB / 0.9585 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005572/0.6854, allocations: 0.5269 MB / 0.9591 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.6866, allocations: 1.325 MB / 0.9604 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.6866, allocations: 0 / 0.9604 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.156e-06/0.6866, allocations: 0 / 0.9604 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.229e-05/0.6866, allocations: 1.344 kB / 0.9604 GB, free: 1.254 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.004157/0.6908, allocations: 1.493 MB / 0.9618 GB, free: 172 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 8.754e-05/0.6909, allocations: 9.594 kB / 0.9618 GB, free: 172 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004449/0.6914, allocations: 109.1 kB / 0.9619 GB, free: 116 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.6936, allocations: 0.9752 MB / 0.9629 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.6937, allocations: 43.38 kB / 0.9629 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.6938, allocations: 49.19 kB / 0.963 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.6949, allocations: 0.5451 MB / 0.9635 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.6949, allocations: 4.938 kB / 0.9635 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.695, allocations: 11.12 kB / 0.9635 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.695, allocations: 8.281 kB / 0.9635 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005916/0.6956, allocations: 349.3 kB / 0.9639 GB, free: 14.84 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.007436/0.703, allocations: 3.853 MB / 0.9676 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.705, allocations: 0.659 MB / 0.9683 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.7053, allocations: 204.4 kB / 0.9685 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.7053, allocations: 2.25 kB / 0.9685 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.7054, allocations: 36.38 kB / 0.9685 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.214e-06/0.7054, allocations: 0.9375 kB / 0.9685 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.002109/0.7075, allocations: 0.7579 MB / 0.9692 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.7076, allocations: 57.34 kB / 0.9693 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003226/0.7108, allocations: 1.434 MB / 0.9707 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.721e-05/0.7109, allocations: 36.27 kB / 0.9707 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.7114, allocations: 413.7 kB / 0.9711 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.7117, allocations: 118.3 kB / 0.9712 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.7119, allocations: 148 kB / 0.9714 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7121, allocations: 336.6 kB / 0.9717 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.7125, allocations: 287.4 kB / 0.972 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/0.7132, allocations: 0.5814 MB / 0.9725 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.7144, allocations: 0.8842 MB / 0.9734 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.7144, allocations: 3.344 kB / 0.9734 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002466/0.7169, allocations: 1.26 MB / 0.9746 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.7169, allocations: 10.25 kB / 0.9746 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.7169, allocations: 9.688 kB / 0.9747 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.7183, allocations: 454.3 kB / 0.9751 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.7186, allocations: 111.8 kB / 0.9752 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005899/0.7245, allocations: 4.688 MB / 0.9798 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.726, allocations: 222.9 kB / 0.98 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.726, allocations: 32 kB / 0.98 GB, free: 1.391 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.0005805/0.7266, allocations: 441.2 kB / 0.9804 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.7268, allocations: 90.86 kB / 0.9805 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.727, allocations: 104.8 kB / 0.9806 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.727, allocations: 4 kB / 0.9806 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.727, allocations: 0 / 0.9806 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.727, allocations: 0 / 0.9806 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.7281, allocations: 0.9355 MB / 0.9815 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7281, allocations: 0 / 0.9815 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.7285, allocations: 95.84 kB / 0.9816 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/0.7287, allocations: 40.83 kB / 0.9817 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.7287, allocations: 19.98 kB / 0.9817 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.7299, allocations: 1.527 MB / 0.9832 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7299, allocations: 0 / 0.9832 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.731, allocations: 0.8253 MB / 0.984 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/0.7315, allocations: 295.8 kB / 0.9843 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.7316, allocations: 19.98 kB / 0.9843 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007197/0.7323, allocations: 99.77 kB / 0.9844 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.7324, allocations: 19.91 kB / 0.9844 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.7324, allocations: 16 kB / 0.9844 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001358/0.7338, allocations: 1.006 MB / 0.9854 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7338, allocations: 0 / 0.9854 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001284/0.7351, allocations: 463.8 kB / 0.9858 GB, free: 11.17 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.0001703/0.7353, allocations: 112.9 kB / 0.9859 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.7372, allocations: 0.9881 MB / 0.9869 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7372, allocations: 4.062 kB / 0.9869 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.7377, allocations: 327.5 kB / 0.9872 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.739, allocations: 282.1 kB / 0.9875 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.7423, allocations: 2.548 MB / 0.99 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007742/0.7431, allocations: 1.144 MB / 0.9911 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005461/0.7437, allocations: 246.5 kB / 0.9913 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.7439, allocations: 55.38 kB / 0.9914 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.7439, allocations: 0 / 0.9914 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of Templates: time 0.02851/0.7724, allocations: 15.63 MB / 1.007 GB, free: 5.961 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