Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 108 kB / 15.61 MB, free: 148 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.001584/0.001584, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 437 MB / 0.7103 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7905/0.7919, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002943/0.7949, allocations: 0.6707 MB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.796, allocations: 0.7884 MB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.7961, allocations: 0 / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.7962, allocations: 0 / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-05/0.7962, allocations: 3.938 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.677e-05/0.7963, allocations: 8 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.406e-05/0.7964, allocations: 23.92 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.7965, allocations: 15.97 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.1e-05/0.7966, allocations: 11.94 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.899e-05/0.7966, allocations: 7.984 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.7966, allocations: 4 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.7967, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.7967, allocations: 11.94 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.7967, allocations: 3.938 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.949e-05/0.7968, allocations: 23.95 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7968, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7968, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.7968, allocations: 8 kB / 1.019 GB, free: 0.9219 MB / 0.7637 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.0005232/0.7974, allocations: 337.4 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.7974, allocations: 8.031 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.7975, allocations: 12.78 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.7976, allocations: 168.3 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.7976, allocations: 384 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.7977, allocations: 4.375 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.7979, allocations: 50.23 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.7979, allocations: 4.188 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.7979, allocations: 3.938 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.7979, allocations: 0 / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.7982, allocations: 31.95 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.7986, allocations: 252.9 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.7988, allocations: 46.44 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.7989, allocations: 28.89 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.799, allocations: 3.984 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.799, allocations: 30.56 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.799, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004725/0.7995, allocations: 89.58 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.7995, allocations: 51.41 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.7997, allocations: 105.9 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.7997, allocations: 25.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.7997, allocations: 92.03 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.7998, allocations: 4 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.7998, allocations: 13.84 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.8, allocations: 314.8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.8001, allocations: 15.98 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.8002, allocations: 19.97 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.8005, allocations: 36.83 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8005, allocations: 4.062 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002777/0.8008, allocations: 77.44 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.8008, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.8008, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.8008, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.8009, allocations: 11.98 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.8009, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.818e-05/0.801, allocations: 8.031 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.801, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.221e-05/0.8011, allocations: 117.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.8012, allocations: 7.984 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.142e-05/0.8012, allocations: 3.125 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.8012, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8012, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.8013, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.8015, allocations: 157.6 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8015, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/0.8016, allocations: 19.92 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.8016, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.8016, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8016, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.8016, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.802, allocations: 167.4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.802, allocations: 89.05 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.8021, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.8022, allocations: 8.234 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.8022, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.8023, allocations: 8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.8023, allocations: 83.27 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8023, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000429/0.8028, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001688/0.8029, allocations: 107.2 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.8032, allocations: 39.95 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8033, allocations: 3.938 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.8034, allocations: 15.98 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.8039, allocations: 9.969 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.8043, allocations: 115.8 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.8046, allocations: 0.6768 MB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.015e-05/0.8046, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.8047, allocations: 11.44 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.8047, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of Templates: time 0.003297/0.808, allocations: 436.5 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches