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.AddParameter.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.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 249.3 MB / 261.8 MB, free: 5.938 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.001138/0.001138, allocations: 182.6 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.52/1.52, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.000966/0.0009661, allocations: 83.86 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.225e-05, allocations: 8 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2099, allocations: 106.3 MB / 0.8918 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7362/0.9462, allocations: 131.3 MB / 1.02 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.9465, allocations: 72.62 kB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001775/0.9483, allocations: 0.6306 MB / 1.021 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9483, allocations: 0 / 1.021 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.9483, allocations: 0 / 1.021 GB, free: 2.793 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003958/0.9487, allocations: 334.5 kB / 1.021 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.9488, allocations: 12.03 kB / 1.021 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.9488, allocations: 3.938 kB / 1.021 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.949, allocations: 178.9 kB / 1.021 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.949, allocations: 0 / 1.021 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.949, allocations: 0 / 1.021 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.9491, allocations: 36.77 kB / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.9491, allocations: 0 / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.9491, allocations: 0 / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9491, allocations: 0 / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.612e-05/0.9492, allocations: 15.56 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.9496, allocations: 275.2 kB / 1.022 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.679e-05/0.9497, allocations: 25.52 kB / 1.022 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.819e-05/0.9497, allocations: 12.73 kB / 1.022 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.9498, allocations: 4 kB / 1.022 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.9498, allocations: 30.56 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 5.089e-06/0.9498, allocations: 3.984 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001448/0.95, allocations: 47.86 kB / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.95, allocations: 55.41 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.173e-05/0.9501, allocations: 93.56 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.9501, allocations: 25.7 kB / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.9502, allocations: 92.05 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.9502, allocations: 7.891 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.9502, allocations: 0 / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.9503, allocations: 318.2 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.9504, allocations: 4 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.362e-05/0.9504, allocations: 7.5 kB / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.103e-05/0.9504, allocations: 4 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9504, allocations: 3.938 kB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.49e-05/0.9505, allocations: 45.58 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.9505, allocations: 7.984 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.9505, allocations: 0 / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.9506, allocations: 0 / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.9507, allocations: 11.94 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.9507, allocations: 0.625 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.9507, allocations: 15.48 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.9507, allocations: 0 / 1.022 GB, free: 1 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 (2): * Single equations (assignments): 2 * 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 6.88e-05/0.9508, allocations: 109 kB / 1.022 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.9509, allocations: 7.906 kB / 1.022 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.9509, allocations: 7.609 kB / 1.022 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.9509, allocations: 0 / 1.022 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.9509, allocations: 5.609 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.9509, allocations: 3.828 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.9511, allocations: 168.5 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.9511, allocations: 0 / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/0.9512, allocations: 15.98 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9512, allocations: 0 / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.9512, allocations: 0 / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.9512, allocations: 0 / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.9512, allocations: 0 / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.9513, allocations: 146.4 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.9514, allocations: 81.11 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.9514, allocations: 0 / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.9515, allocations: 12.27 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.9515, allocations: 4 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.9515, allocations: 4 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.9516, allocations: 83.16 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9516, allocations: 0 / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002045/0.9518, allocations: 4 kB / 1.023 GB, free: 300 kB / 0.6355 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 (2): * Single equations (assignments): 2 * 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.0001388/0.952, allocations: 103.2 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.992e-05/0.952, allocations: 15.36 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.9521, allocations: 0 / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.431e-05/0.9521, allocations: 15.56 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.9523, allocations: 7.516 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002083/0.9525, allocations: 75.69 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.9528, allocations: 0.677 MB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.815e-05/0.9528, allocations: 8.125 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.9528, allocations: 11.38 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/0.9528, allocations: 3.938 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of Templates: time 0.002251/0.9551, allocations: 365.8 kB / 1.024 GB, free: 15 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches