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.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.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.00652/0.006526, allocations: 103.9 kB / 15.73 MB, free: 6.473 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.001506/0.001507, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.486/2.486, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 65.39 kB / 0.9508 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3097, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient): time 0.007361/0.3171, allocations: 4.778 MB / 1.093 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005861/0.323, allocations: 3.269 MB / 1.096 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.3241, allocations: 23.88 kB / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.3261, allocations: 0.5438 MB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.3281, allocations: 0.6999 MB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.33, allocations: 0.6492 MB / 1.098 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003621/0.3336, allocations: 2.798 MB / 1.1 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005233/0.3341, allocations: 293.4 kB / 1.101 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.3357, allocations: 0.8607 MB / 1.101 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.3371, allocations: 0.8132 MB / 1.102 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003135/0.3374, allocations: 92 kB / 1.102 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.3378, allocations: 100 kB / 1.102 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006969/0.3385, allocations: 0.5803 MB / 1.103 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.3399, allocations: 0.7966 MB / 1.104 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.3419, allocations: 1.795 MB / 1.106 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3419, allocations: 0 / 1.106 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3419, allocations: 0 / 1.106 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.049e-05/0.342, allocations: 0 / 1.106 GB, free: 15.36 MB / 0.8731 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.004634/0.3466, allocations: 2.053 MB / 1.108 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3467, allocations: 8.031 kB / 1.108 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.3471, allocations: 182.8 kB / 1.108 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.3491, allocations: 1.215 MB / 1.109 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/0.3491, allocations: 65.38 kB / 1.109 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.3493, allocations: 84.38 kB / 1.109 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009751/0.3503, allocations: 0.6595 MB / 1.11 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3503, allocations: 4 kB / 1.11 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/0.3503, allocations: 24 kB / 1.11 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.3504, allocations: 12 kB / 1.11 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006322/0.351, allocations: 407.5 kB / 1.11 GB, free: 10.51 MB / 0.8731 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.005563/0.3566, allocations: 4.487 MB / 1.115 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.358, allocations: 0.6184 MB / 1.115 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.3583, allocations: 212.7 kB / 1.115 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.3584, allocations: 4 kB / 1.115 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3584, allocations: 42.56 kB / 1.115 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=35): time 3.386e-06/0.3584, allocations: 0 / 1.115 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35): time 0.002257/0.3607, allocations: 1.105 MB / 1.116 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.3607, allocations: 55.41 kB / 1.117 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.3631, allocations: 1.874 MB / 1.118 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/0.3632, allocations: 45.7 kB / 1.118 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000511/0.3637, allocations: 0.6271 MB / 1.119 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.3639, allocations: 134.1 kB / 1.119 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.3642, allocations: 250.8 kB / 1.119 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3643, allocations: 353.9 kB / 1.12 GB, free: 276 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/0.3649, allocations: 366.4 kB / 1.12 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009899/0.3659, allocations: 0.9933 MB / 1.121 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.3674, allocations: 1.373 MB / 1.122 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/0.3674, allocations: 15.88 kB / 1.122 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002408/0.3698, allocations: 1.548 MB / 1.124 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.3698, allocations: 16 kB / 1.124 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.3699, allocations: 20 kB / 1.124 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006358/0.3705, allocations: 205.8 kB / 1.124 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008015/0.3713, allocations: 267.5 kB / 1.124 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.375, allocations: 3.86 MB / 1.128 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.3765, allocations: 194.4 kB / 1.128 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/0.3766, allocations: 60 kB / 1.128 GB, free: 6.438 MB / 0.8887 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.0008348/0.3774, allocations: 0.4971 MB / 1.129 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.3777, allocations: 150 kB / 1.129 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.378, allocations: 143 kB / 1.129 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.378, allocations: 4 kB / 1.129 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.85e-05/0.3781, allocations: 4 kB / 1.129 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.3781, allocations: 3.984 kB / 1.129 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.3794, allocations: 1.031 MB / 1.13 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3794, allocations: 0 / 1.13 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.3798, allocations: 63.89 kB / 1.13 GB, free: 4.484 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/0.3802, allocations: 165.6 kB / 1.13 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.3803, allocations: 15.92 kB / 1.13 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003261/0.3836, allocations: 3.81 MB / 1.134 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3836, allocations: 4.062 kB / 1.134 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.3851, allocations: 0.9944 MB / 1.135 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000536/0.3856, allocations: 323.1 kB / 1.135 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.3858, allocations: 15.98 kB / 1.135 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/0.3864, allocations: 51.91 kB / 1.135 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.7e-05/0.3865, allocations: 27.91 kB / 1.135 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.3865, allocations: 11.94 kB / 1.136 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001949/0.3885, allocations: 1.272 MB / 1.137 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3885, allocations: 0 / 1.137 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001419/0.3899, allocations: 447.6 kB / 1.137 GB, free: 13.04 MB / 0.9044 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.0001709/0.3901, allocations: 111.2 kB / 1.137 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.3919, allocations: 1.072 MB / 1.138 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.392, allocations: 0 / 1.138 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006882/0.3926, allocations: 0.4895 MB / 1.139 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.3941, allocations: 366.6 kB / 1.139 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/0.3989, allocations: 2.708 MB / 1.142 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009665/0.3999, allocations: 1.344 MB / 1.143 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006578/0.4005, allocations: 269.4 kB / 1.143 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.4007, allocations: 67.44 kB / 1.143 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/0.4007, allocations: 0 / 1.143 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of Templates: time 0.03295/0.4337, allocations: 18.08 MB / 1.161 GB, free: 4.684 MB / 0.92 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches