Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ConductorStepResponse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse") translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 194.5 kB / 16.53 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.005/3.005, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 58.88 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3217, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005469/0.3272, allocations: 4.79 MB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004684/0.3319, allocations: 3.268 MB / 1.076 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003704/0.3323, allocations: 19.88 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.3336, allocations: 0.5322 MB / 1.077 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.3348, allocations: 0.7038 MB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.3362, allocations: 0.6392 MB / 1.078 GB, free: 484 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002414/0.3386, allocations: 2.586 MB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.339, allocations: 297.4 kB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009127/0.3399, allocations: 0.7905 MB / 1.082 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008862/0.3408, allocations: 0.786 MB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.341, allocations: 92 kB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.3412, allocations: 92 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000476/0.3417, allocations: 0.4985 MB / 1.083 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006793/0.3424, allocations: 0.7538 MB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.3437, allocations: 1.647 MB / 1.085 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3437, allocations: 0 / 1.085 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3438, allocations: 0 / 1.085 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.3438, allocations: 0 / 1.085 GB, free: 8.902 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003003/0.3468, allocations: 1.932 MB / 1.087 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3468, allocations: 8.031 kB / 1.087 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.3471, allocations: 174.8 kB / 1.087 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.3487, allocations: 1.128 MB / 1.088 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.3487, allocations: 57.38 kB / 1.088 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.3488, allocations: 76.38 kB / 1.089 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008196/0.3497, allocations: 0.5712 MB / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3497, allocations: 0 / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.3497, allocations: 23.94 kB / 1.089 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.3498, allocations: 12 kB / 1.089 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.3503, allocations: 351.7 kB / 1.089 GB, free: 4.445 MB / 0.8419 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.004805/0.3551, allocations: 3.886 MB / 1.093 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.3563, allocations: 0.512 MB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.3566, allocations: 193.2 kB / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3566, allocations: 4 kB / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.3567, allocations: 34.56 kB / 1.094 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 2.375e-06/0.3567, allocations: 0 / 1.094 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.002072/0.3587, allocations: 1.088 MB / 1.095 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.3588, allocations: 67.28 kB / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.3612, allocations: 1.797 MB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.55e-05/0.3612, allocations: 49.7 kB / 1.097 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004799/0.3617, allocations: 0.5763 MB / 1.098 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3619, allocations: 110.4 kB / 1.098 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.3622, allocations: 234.9 kB / 1.098 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3623, allocations: 357.9 kB / 1.098 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.3628, allocations: 326.4 kB / 1.098 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008784/0.3637, allocations: 0.9364 MB / 1.099 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.3651, allocations: 1.279 MB / 1.101 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.3651, allocations: 4 kB / 1.101 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002345/0.3675, allocations: 1.457 MB / 1.102 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.3675, allocations: 16 kB / 1.102 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.3675, allocations: 20 kB / 1.102 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.3682, allocations: 202.7 kB / 1.102 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/0.3689, allocations: 235.6 kB / 1.103 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004142/0.373, allocations: 5.071 MB / 1.107 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.3744, allocations: 174.6 kB / 1.108 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.092e-05/0.3745, allocations: 60 kB / 1.108 GB, free: 296 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006411/0.3751, allocations: 494.6 kB / 1.108 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.3753, allocations: 138.1 kB / 1.108 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.3755, allocations: 130.3 kB / 1.108 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3756, allocations: 4 kB / 1.108 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.3756, allocations: 0 / 1.108 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.3756, allocations: 3.984 kB / 1.108 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3766, allocations: 0.9407 MB / 1.109 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3767, allocations: 0 / 1.109 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.3769, allocations: 47.97 kB / 1.109 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/0.3774, allocations: 170.3 kB / 1.11 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.3774, allocations: 16.05 kB / 1.11 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004208/0.3816, allocations: 5.02 MB / 1.114 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3817, allocations: 0 / 1.114 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.3831, allocations: 0.8901 MB / 1.115 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.3835, allocations: 299.2 kB / 1.116 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.3837, allocations: 11.94 kB / 1.116 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/0.3843, allocations: 39.94 kB / 1.116 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.3844, allocations: 27.91 kB / 1.116 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.3844, allocations: 8 kB / 1.116 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001613/0.386, allocations: 1.223 MB / 1.117 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.81e-07/0.386, allocations: 0 / 1.117 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0012/0.3872, allocations: 379.6 kB / 1.117 GB, free: 5.941 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (conMul.lay[2].T[1],conMul.lay[2].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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (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.0001385/0.3874, allocations: 107.8 kB / 1.117 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.389, allocations: 1.137 MB / 1.118 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.389, allocations: 448 / 1.118 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006753/0.3897, allocations: 0.5712 MB / 1.119 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.3911, allocations: 343.8 kB / 1.119 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.3944, allocations: 2.49 MB / 1.122 GB, free: 1.184 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008944/0.3954, allocations: 1.312 MB / 1.123 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006269/0.396, allocations: 240.8 kB / 1.123 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.3962, allocations: 63.44 kB / 1.123 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of SimCode: time 6.71e-07/0.3962, allocations: 0 / 1.123 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of Templates: time 0.03057/0.4268, allocations: 16.78 MB / 1.14 GB, free: 15.02 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches