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.001022/0.001022, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.001412/0.001411, allocations: 171.6 kB / 16.26 MB, free: 6.664 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 / 240.3 MB, free: 5.348 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.354/2.354, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 12 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7302/0.7306, allocations: 142.4 MB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.00251/0.7332, allocations: 2.509 MB / 0.9575 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002714/0.7359, allocations: 2.211 MB / 0.9596 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.7361, allocations: 9.25 kB / 0.9596 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.7372, allocations: 380 kB / 0.96 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.7376, allocations: 264.2 kB / 0.9603 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006694/0.7383, allocations: 291.2 kB / 0.9605 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.74, allocations: 1.834 MB / 0.9623 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.7403, allocations: 143.3 kB / 0.9625 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007257/0.741, allocations: 0.534 MB / 0.963 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/0.7416, allocations: 0.5548 MB / 0.9635 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.7417, allocations: 36.59 kB / 0.9636 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.7418, allocations: 44.41 kB / 0.9636 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.7421, allocations: 335.2 kB / 0.9639 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.7425, allocations: 0.4975 MB / 0.9644 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008719/0.7434, allocations: 1.275 MB / 0.9657 GB, free: 368 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7434, allocations: 0.9062 kB / 0.9657 GB, free: 368 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7434, allocations: 0 / 0.9657 GB, free: 368 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.7434, allocations: 0 / 0.9657 GB, free: 368 kB / 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.002391/0.7458, allocations: 1.34 MB / 0.967 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.7459, allocations: 9.562 kB / 0.967 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.7461, allocations: 113.9 kB / 0.9671 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.7476, allocations: 0.972 MB / 0.968 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.7476, allocations: 30.38 kB / 0.9681 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.7477, allocations: 53 kB / 0.9681 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007962/0.7485, allocations: 0.5507 MB / 0.9686 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.7485, allocations: 1.312 kB / 0.9686 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.7486, allocations: 15.94 kB / 0.9687 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.7486, allocations: 11.2 kB / 0.9687 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.7491, allocations: 357.3 kB / 0.969 GB, free: 14.04 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.00585/0.755, allocations: 3.879 MB / 0.9728 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.7567, allocations: 0.664 MB / 0.9735 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.757, allocations: 203.1 kB / 0.9736 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.757, allocations: 2.781 kB / 0.9736 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.7571, allocations: 32.31 kB / 0.9737 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.7571, allocations: 0 / 0.9737 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.001339/0.7584, allocations: 0.7794 MB / 0.9744 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.7585, allocations: 55.5 kB / 0.9745 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.7605, allocations: 1.429 MB / 0.9759 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.7605, allocations: 40.11 kB / 0.9759 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.7609, allocations: 417.8 kB / 0.9763 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.7611, allocations: 110.6 kB / 0.9764 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.7612, allocations: 83.2 kB / 0.9765 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.7613, allocations: 335.9 kB / 0.9768 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.7618, allocations: 288.8 kB / 0.9771 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/0.7624, allocations: 0.5894 MB / 0.9777 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009939/0.7634, allocations: 0.886 MB / 0.9785 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.7634, allocations: 4 kB / 0.9785 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002034/0.7654, allocations: 1.252 MB / 0.9798 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.7655, allocations: 16 kB / 0.9798 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.7655, allocations: 8 kB / 0.9798 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.7668, allocations: 453.3 kB / 0.9802 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.7671, allocations: 111.8 kB / 0.9803 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005313/0.7724, allocations: 4.405 MB / 0.9846 GB, free: 40 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.774, allocations: 223 kB / 0.9848 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.774, allocations: 32 kB / 0.9849 GB, free: 15.79 MB / 0.7481 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.0005985/0.7746, allocations: 425.3 kB / 0.9853 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.7748, allocations: 94.72 kB / 0.9854 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.775, allocations: 112.8 kB / 0.9855 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.775, allocations: 4 kB / 0.9855 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.775, allocations: 0 / 0.9855 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.775, allocations: 3.938 kB / 0.9855 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009778/0.776, allocations: 0.9317 MB / 0.9864 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.776, allocations: 3.984 kB / 0.9864 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/0.7764, allocations: 87.92 kB / 0.9865 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.7766, allocations: 52.75 kB / 0.9865 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.7766, allocations: 15.98 kB / 0.9866 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009942/0.7776, allocations: 1.416 MB / 0.9879 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7776, allocations: 0 / 0.9879 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.7787, allocations: 0.833 MB / 0.9887 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003968/0.7791, allocations: 295.9 kB / 0.989 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.7792, allocations: 15.98 kB / 0.989 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007361/0.78, allocations: 111.7 kB / 0.9892 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.78, allocations: 15.92 kB / 0.9892 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.7801, allocations: 8 kB / 0.9892 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001327/0.7814, allocations: 1.01 MB / 0.9902 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7814, allocations: 0 / 0.9902 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001151/0.7826, allocations: 467.8 kB / 0.9906 GB, free: 9.672 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.0001407/0.7827, allocations: 117.3 kB / 0.9907 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001649/0.7844, allocations: 0.9251 MB / 0.9916 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7844, allocations: 0 / 0.9916 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.7848, allocations: 332.1 kB / 0.9919 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.786, allocations: 264.1 kB / 0.9922 GB, free: 8.016 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.7893, allocations: 2.715 MB / 0.9948 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.79, allocations: 1.149 MB / 0.996 GB, free: 4.094 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005334/0.7905, allocations: 246.5 kB / 0.9962 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.7907, allocations: 51.44 kB / 0.9962 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/0.7907, allocations: 0 / 0.9962 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of Templates: time 0.02412/0.8148, allocations: 14.78 MB / 1.011 GB, free: 5.215 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