Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.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.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con1.T.1.|con1.T.2.|con1.T.3.|con2.T.1.|con2.T.2.|conMul.T.1.|conMul.T.2.|conMul.T.3.|conMul.T.4.|conMul.T.5.|con.T.1.|con.T.2.|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") translateModel(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con1.T.1.|con1.T.2.|con1.T.3.|con2.T.1.|con2.T.2.|conMul.T.1.|conMul.T.2.|conMul.T.3.|conMul.T.4.|conMul.T.5.|con.T.1.|con.T.2.|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005368/0.005368, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.00128/0.00128, allocations: 195.5 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.335/1.335, 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.3/2.3, allocations: 390.2 MB / 0.6649 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6321/0.6335, allocations: 140.4 MB / 0.9496 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient): time 0.005126/0.6387, allocations: 4.784 MB / 0.9542 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004582/0.6433, allocations: 3.291 MB / 0.9574 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009034/0.6443, allocations: 20.72 kB / 0.9575 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.6459, allocations: 0.4919 MB / 0.9579 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.6474, allocations: 0.6715 MB / 0.9586 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.6487, allocations: 0.5587 MB / 0.9591 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003341/0.6521, allocations: 3.237 MB / 0.9623 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.6525, allocations: 270.6 kB / 0.9626 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.654, allocations: 0.7753 MB / 0.9633 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.6551, allocations: 0.8546 MB / 0.9642 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.6553, allocations: 57.62 kB / 0.9642 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.6556, allocations: 61.44 kB / 0.9643 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005145/0.6561, allocations: 0.5118 MB / 0.9648 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007467/0.6568, allocations: 0.7504 MB / 0.9655 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.658, allocations: 1.414 MB / 0.9669 GB, free: 13 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.6581, allocations: 3.984 kB / 0.9669 GB, free: 13 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6581, allocations: 4 kB / 0.9669 GB, free: 13 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.263e-05/0.6581, allocations: 0 / 0.9669 GB, free: 13 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003691/0.6618, allocations: 2.043 MB / 0.9689 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6619, allocations: 8.906 kB / 0.9689 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/0.6622, allocations: 183.6 kB / 0.9691 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.6642, allocations: 1.181 MB / 0.9702 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/0.6642, allocations: 60.66 kB / 0.9703 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.6644, allocations: 93.41 kB / 0.9704 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.6654, allocations: 0.654 MB / 0.971 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.6654, allocations: 1.281 kB / 0.971 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.6655, allocations: 20.72 kB / 0.971 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.6655, allocations: 13.06 kB / 0.971 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/0.6662, allocations: 408.9 kB / 0.9714 GB, free: 9.891 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.006379/0.6726, allocations: 4.517 MB / 0.9758 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.6741, allocations: 0.615 MB / 0.9764 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.6745, allocations: 228.5 kB / 0.9767 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.6745, allocations: 4.344 kB / 0.9767 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.6745, allocations: 36.56 kB / 0.9767 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=35): time 2.315e-06/0.6745, allocations: 0 / 0.9767 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.002403/0.6769, allocations: 1.111 MB / 0.9778 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.677, allocations: 55.41 kB / 0.9778 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/0.6796, allocations: 1.894 MB / 0.9797 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.61e-05/0.6797, allocations: 45.7 kB / 0.9797 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005496/0.6802, allocations: 0.6195 MB / 0.9803 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.6804, allocations: 134 kB / 0.9805 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.6807, allocations: 254.8 kB / 0.9807 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6809, allocations: 353.9 kB / 0.981 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/0.6815, allocations: 362.3 kB / 0.9814 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009711/0.6824, allocations: 1.005 MB / 0.9824 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.684, allocations: 1.366 MB / 0.9837 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.684, allocations: 11.94 kB / 0.9837 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002562/0.6866, allocations: 1.555 MB / 0.9852 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.6866, allocations: 16 kB / 0.9853 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.6866, allocations: 24 kB / 0.9853 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006337/0.6873, allocations: 197.9 kB / 0.9855 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000813/0.6881, allocations: 267.5 kB / 0.9857 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/0.6917, allocations: 3.58 MB / 0.9892 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.6934, allocations: 202.4 kB / 0.9894 GB, free: 7.688 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.449e-05/0.6935, allocations: 64 kB / 0.9895 GB, free: 7.625 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (131): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007623/0.6943, allocations: 0.5087 MB / 0.99 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/0.6945, allocations: 142.1 kB / 0.9901 GB, free: 6.965 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.6947, allocations: 138.9 kB / 0.9902 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.6947, allocations: 4 kB / 0.9902 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.6948, allocations: 0 / 0.9902 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6948, allocations: 3.984 kB / 0.9902 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.696, allocations: 1.043 MB / 0.9913 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.696, allocations: 4 kB / 0.9913 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.6963, allocations: 59.95 kB / 0.9913 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/0.6968, allocations: 157.6 kB / 0.9915 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.6969, allocations: 15.98 kB / 0.9915 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003101/0.7, allocations: 3.538 MB / 0.9949 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.7, allocations: 4 kB / 0.9949 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.7016, allocations: 0.9924 MB / 0.9959 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006349/0.7022, allocations: 319.1 kB / 0.9962 GB, free: 336 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.7024, allocations: 11.98 kB / 0.9962 GB, free: 324 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007007/0.7031, allocations: 59.81 kB / 0.9963 GB, free: 264 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/0.7032, allocations: 35.84 kB / 0.9963 GB, free: 228 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.7032, allocations: 8 kB / 0.9963 GB, free: 220 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002062/0.7053, allocations: 1.288 MB / 0.9976 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2e-07/0.7053, allocations: 0 / 0.9976 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001739/0.7071, allocations: 451.6 kB / 0.998 GB, free: 14.49 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conMul.lay[2].T[1],conMul.lay[2].T[2],con.T[1],con.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002031/0.7073, allocations: 115.2 kB / 0.9981 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001931/0.7092, allocations: 1.072 MB / 0.9992 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.7092, allocations: 8.188 kB / 0.9992 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006568/0.7099, allocations: 0.4969 MB / 0.9997 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.7115, allocations: 336.8 kB / 1 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.7159, allocations: 3.186 MB / 1.003 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008856/0.7168, allocations: 1.336 MB / 1.004 GB, free: 7.832 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.7171, allocations: 71.44 kB / 1.004 GB, free: 7.762 MB / 0.7637 GB Notification: Performance of SimCode: time 7.21e-07/0.7171, allocations: 0 / 1.004 GB, free: 7.762 MB / 0.7637 GB Notification: Performance of Templates: time 0.03784/0.7549, allocations: 29.6 MB / 1.033 GB, free: 10.25 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches