Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.006404/0.006404, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.001408/0.001408, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.559/2.559, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.33 kB / 0.9508 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3593, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.01033/0.3697, allocations: 4.79 MB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008799/0.3785, allocations: 3.259 MB / 1.096 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.3797, allocations: 31.81 kB / 1.096 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.3823, allocations: 0.5283 MB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.3852, allocations: 0.7089 MB / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.3881, allocations: 0.6374 MB / 1.098 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004791/0.3929, allocations: 2.587 MB / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007184/0.3936, allocations: 297.4 kB / 1.1 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.3957, allocations: 0.8177 MB / 1.101 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.3972, allocations: 0.7508 MB / 1.102 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.3974, allocations: 84 kB / 1.102 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.3977, allocations: 92 kB / 1.102 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008587/0.3986, allocations: 0.5219 MB / 1.103 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.3997, allocations: 0.7422 MB / 1.103 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002567/0.4023, allocations: 1.673 MB / 1.105 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4023, allocations: 4 kB / 1.105 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4024, allocations: 0 / 1.105 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.571e-05/0.4024, allocations: 0 / 1.105 GB, free: 15.91 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.005106/0.4075, allocations: 1.99 MB / 1.107 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.4076, allocations: 8.031 kB / 1.107 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004344/0.408, allocations: 175.9 kB / 1.107 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003238/0.4113, allocations: 1.169 MB / 1.108 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/0.4114, allocations: 61.36 kB / 1.108 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.4116, allocations: 84.38 kB / 1.108 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.4132, allocations: 0.5634 MB / 1.109 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.4133, allocations: 7.938 kB / 1.109 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.543e-05/0.4133, allocations: 23.94 kB / 1.109 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.4134, allocations: 12 kB / 1.109 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.4144, allocations: 355.6 kB / 1.109 GB, free: 11.34 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.007891/0.4223, allocations: 3.863 MB / 1.113 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.4242, allocations: 0.507 MB / 1.114 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.4247, allocations: 184.8 kB / 1.114 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.4248, allocations: 7.984 kB / 1.114 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.4248, allocations: 38.56 kB / 1.114 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/0.4248, allocations: 0 / 1.114 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.003549/0.4284, allocations: 1.089 MB / 1.115 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.4285, allocations: 59.34 kB / 1.115 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004025/0.4325, allocations: 1.789 MB / 1.117 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.258e-05/0.4326, allocations: 45.7 kB / 1.117 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000809/0.4334, allocations: 0.5886 MB / 1.117 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.4336, allocations: 119 kB / 1.117 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004219/0.4341, allocations: 234.9 kB / 1.118 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.4343, allocations: 349.9 kB / 1.118 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009158/0.4352, allocations: 326.4 kB / 1.118 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.4368, allocations: 0.9442 MB / 1.119 GB, free: 480 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002514/0.4394, allocations: 1.271 MB / 1.12 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/0.4394, allocations: 4 kB / 1.12 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003941/0.4434, allocations: 1.457 MB / 1.122 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.4434, allocations: 16 kB / 1.122 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.585e-05/0.4435, allocations: 20 kB / 1.122 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.4445, allocations: 194.7 kB / 1.122 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.4457, allocations: 239.6 kB / 1.122 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007175/0.4529, allocations: 5.067 MB / 1.127 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/0.4552, allocations: 182.9 kB / 1.127 GB, free: 7.277 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.4553, allocations: 60 kB / 1.128 GB, free: 7.219 MB / 0.8887 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.001115/0.4564, allocations: 489 kB / 1.128 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003054/0.4568, allocations: 143 kB / 1.128 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.4571, allocations: 134.4 kB / 1.128 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.4571, allocations: 4 kB / 1.128 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.4571, allocations: 4 kB / 1.128 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.4571, allocations: 3.984 kB / 1.128 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.4589, allocations: 0.9369 MB / 1.129 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4589, allocations: 0 / 1.129 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.4593, allocations: 43.97 kB / 1.129 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.4604, allocations: 166.4 kB / 1.129 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.4605, allocations: 11.92 kB / 1.129 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006938/0.4674, allocations: 5.025 MB / 1.134 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4674, allocations: 3.938 kB / 1.134 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.4698, allocations: 0.8946 MB / 1.135 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007874/0.4706, allocations: 308 kB / 1.135 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.4708, allocations: 19.92 kB / 1.135 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.4719, allocations: 39.94 kB / 1.136 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.472, allocations: 27.91 kB / 1.136 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.472, allocations: 4 kB / 1.136 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002847/0.4749, allocations: 1.208 MB / 1.137 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.61e-07/0.4749, allocations: 0 / 1.137 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002052/0.477, allocations: 375.8 kB / 1.137 GB, free: 12.88 MB / 0.9044 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.0001835/0.4772, allocations: 111.2 kB / 1.137 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002739/0.4799, allocations: 1.114 MB / 1.138 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4799, allocations: 0 / 1.138 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.4811, allocations: 0.564 MB / 1.139 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/0.4836, allocations: 333.1 kB / 1.139 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005877/0.4895, allocations: 2.52 MB / 1.142 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/0.4911, allocations: 1.312 MB / 1.143 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009115/0.4921, allocations: 248.8 kB / 1.143 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.4923, allocations: 67.44 kB / 1.143 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of SimCode: time 6.91e-07/0.4924, allocations: 0 / 1.143 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of Templates: time 0.0489/0.5413, allocations: 16.81 MB / 1.16 GB, free: 5.926 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches