Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.42/1.42, allocations: 249.3 MB / 261.8 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008193/0.0008192, allocations: 94.45 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.621e-05/3.625e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1984, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7477/0.9462, allocations: 131.3 MB / 1.02 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.9464, allocations: 72.64 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002357/0.9488, allocations: 0.8666 MB / 1.021 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.757e-06/0.9488, allocations: 3.984 kB / 1.021 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.9488, allocations: 0 / 1.021 GB, free: 2.551 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004303/0.9493, allocations: 362.3 kB / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.9493, allocations: 8.031 kB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.9494, allocations: 7.906 kB / 1.021 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.9495, allocations: 170.9 kB / 1.021 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.9495, allocations: 4 kB / 1.021 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.9496, allocations: 2.938 kB / 1.021 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.9497, allocations: 53 kB / 1.022 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.9497, allocations: 0 / 1.022 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.9497, allocations: 4 kB / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.9498, allocations: 0 / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.9498, allocations: 23.11 kB / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.9505, allocations: 310.6 kB / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.619e-05/0.9506, allocations: 37.64 kB / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.9506, allocations: 16.23 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.9507, allocations: 0 / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.9507, allocations: 32.06 kB / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.9507, allocations: 4 kB / 1.022 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001821/0.9509, allocations: 53.03 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.9509, allocations: 54.14 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.951, allocations: 107.9 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.9511, allocations: 29.69 kB / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.9511, allocations: 84.08 kB / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.9512, allocations: 15.75 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.9512, allocations: 0 / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9513, allocations: 326.7 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.9514, allocations: 7.625 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.9514, allocations: 11.81 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.9514, allocations: 7 kB / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9514, allocations: 0 / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.662e-05/0.9515, allocations: 50.69 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.9516, allocations: 4 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.9516, allocations: 0 / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.9516, allocations: 0 / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.9518, allocations: 28.23 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.9518, allocations: 0 / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.45e-05/0.9519, allocations: 19.92 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.9519, allocations: 4 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.538e-05/0.952, allocations: 108.9 kB / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.952, allocations: 7.891 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.9521, allocations: 14.91 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.9521, allocations: 0 / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.9521, allocations: 0 / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.9521, allocations: 3.938 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.9523, allocations: 172.2 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.9523, allocations: 4.859 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.9524, allocations: 23.42 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9524, allocations: 0 / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.9524, allocations: 4 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.9524, allocations: 4 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9524, allocations: 1.062 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.9526, allocations: 155.7 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.9527, allocations: 81.25 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.9527, allocations: 0 / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.9528, allocations: 19.98 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.9529, allocations: 11.97 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.9529, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.381e-05/0.953, allocations: 86.84 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.953, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001974/0.9532, allocations: 11.25 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001362/0.9533, allocations: 99.23 kB / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.26e-05/0.9534, allocations: 26.5 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9534, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.62e-05/0.9535, allocations: 17.69 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.9537, allocations: 7.953 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.9539, allocations: 77.78 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.9542, allocations: 0.6851 MB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.605e-05/0.9542, allocations: 11.86 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.9543, allocations: 15.31 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of SimCode: time 4.91e-07/0.9543, allocations: 0 / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of Templates: time 0.002548/0.9568, allocations: 0.5383 MB / 1.025 GB, free: 14.38 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches