Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001459/0.001459, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.2 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003383, allocations: 12 kB / 0.8146 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.688/0.6884, allocations: 142.3 MB / 0.9535 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.0008765/0.6893, allocations: 410.3 kB / 0.9539 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006893/0.69, allocations: 0.7825 MB / 0.9547 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.69, allocations: 0 / 0.9547 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.6901, allocations: 7.938 kB / 0.9547 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.218e-05/0.6901, allocations: 5.203 kB / 0.9547 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.897e-05/0.6902, allocations: 4.844 kB / 0.9547 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.905e-05/0.6902, allocations: 17.59 kB / 0.9547 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.279e-05/0.6903, allocations: 2.188 kB / 0.9547 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.495e-05/0.6904, allocations: 12.09 kB / 0.9547 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.6904, allocations: 6.672 kB / 0.9547 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.6905, allocations: 1.469 kB / 0.9547 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-06/0.6905, allocations: 1.406 kB / 0.9547 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.6905, allocations: 11.94 kB / 0.9547 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.6905, allocations: 27.14 kB / 0.9548 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.769e-05/0.6906, allocations: 19.45 kB / 0.9548 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.6906, allocations: 0 / 0.9548 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6906, allocations: 1.594 kB / 0.9548 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.6906, allocations: 0 / 0.9548 GB, free: 7.297 MB / 0.7169 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.0003533/0.691, allocations: 342.8 kB / 0.9551 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.691, allocations: 12.91 kB / 0.9551 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.691, allocations: 10.39 kB / 0.9551 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.754e-05/0.6911, allocations: 175.9 kB / 0.9553 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.6911, allocations: 1.531 kB / 0.9553 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.6912, allocations: 1.406 kB / 0.9553 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.6913, allocations: 57.77 kB / 0.9554 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.6913, allocations: 0 / 0.9554 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.6914, allocations: 0 / 0.9554 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.6914, allocations: 9.297 kB / 0.9554 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.6916, allocations: 48.92 kB / 0.9554 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.6919, allocations: 246.8 kB / 0.9557 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.692, allocations: 44.31 kB / 0.9557 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.692, allocations: 3.938 kB / 0.9557 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.216e-05/0.692, allocations: 31.16 kB / 0.9557 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.692, allocations: 1.469 kB / 0.9557 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003395/0.6924, allocations: 102.7 kB / 0.9558 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.6924, allocations: 52.47 kB / 0.9559 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.6925, allocations: 109.6 kB / 0.956 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.6925, allocations: 33.58 kB / 0.956 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.6925, allocations: 85.52 kB / 0.9561 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.6925, allocations: 4.938 kB / 0.9561 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.6925, allocations: 0 / 0.9561 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.6926, allocations: 312 kB / 0.9564 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.6927, allocations: 26 kB / 0.9564 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.6928, allocations: 30.42 kB / 0.9565 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.889e-05/0.6929, allocations: 18.48 kB / 0.9565 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6929, allocations: 0 / 0.9565 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001818/0.6931, allocations: 78.47 kB / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.6931, allocations: 6.75 kB / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6931, allocations: 0 / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.6931, allocations: 1.281 kB / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.6932, allocations: 11.92 kB / 0.9566 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.6932, allocations: 3.953 kB / 0.9566 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.822e-05/0.6933, allocations: 15.19 kB / 0.9566 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.6933, allocations: 0 / 0.9566 GB, free: 5.504 MB / 0.7169 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 () * Number of clocked 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 4.669e-05/0.6933, allocations: 108.1 kB / 0.9567 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.6934, allocations: 8.828 kB / 0.9567 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.6934, allocations: 8.938 kB / 0.9567 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6934, allocations: 1.469 kB / 0.9567 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6934, allocations: 0 / 0.9567 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6934, allocations: 7.953 kB / 0.9567 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.6935, allocations: 162.6 kB / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.6935, allocations: 1.094 kB / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.6936, allocations: 7.781 kB / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6936, allocations: 1.031 kB / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.6936, allocations: 0 / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.6936, allocations: 1.312 kB / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6936, allocations: 7.984 kB / 0.9569 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.6938, allocations: 176.7 kB / 0.9571 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.6939, allocations: 82.48 kB / 0.9571 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.6939, allocations: 5.297 kB / 0.9571 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.694, allocations: 9.75 kB / 0.9572 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.694, allocations: 5.422 kB / 0.9572 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.694, allocations: 1.344 kB / 0.9572 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.316e-05/0.694, allocations: 87.5 kB / 0.9572 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.694, allocations: 0 / 0.9572 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002071/0.6942, allocations: 4.406 kB / 0.9572 GB, free: 4.805 MB / 0.7169 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 () * Number of clocked 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 9.653e-05/0.6944, allocations: 104 kB / 0.9573 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.6946, allocations: 50.61 kB / 0.9574 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6946, allocations: 0.8125 kB / 0.9574 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.6947, allocations: 28.05 kB / 0.9574 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.6949, allocations: 6.406 kB / 0.9574 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.6951, allocations: 113.5 kB / 0.9575 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.636e-05/0.6952, allocations: 0.6794 MB / 0.9582 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.235e-05/0.6952, allocations: 0 / 0.9582 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.6953, allocations: 12.38 kB / 0.9582 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6953, allocations: 4 kB / 0.9582 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of Templates: time 0.002163/0.6974, allocations: 362.6 kB / 0.9586 GB, free: 3.652 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_AddParameter.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches