Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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.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.Controls.OBC.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_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_9_Buildings.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.001222/0.001222, allocations: 105.6 kB / 15.99 MB, free: 6.348 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.001289/0.001289, allocations: 191.6 kB / 16.91 MB, free: 6.188 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.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.292/2.292, allocations: 390.3 MB / 0.665 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 69.42 kB / 0.8127 GB, free: 33.31 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2628, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.002182/0.265, allocations: 0.7246 MB / 0.9505 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009751/0.266, allocations: 0.8021 MB / 0.9513 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.266, allocations: 3.938 kB / 0.9513 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.2661, allocations: 0 / 0.9513 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.761e-05/0.2662, allocations: 0 / 0.9513 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.378e-05/0.2662, allocations: 7.984 kB / 0.9513 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.028e-05/0.2663, allocations: 27.92 kB / 0.9513 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2664, allocations: 4 kB / 0.9513 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.557e-05/0.2665, allocations: 15.94 kB / 0.9513 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.2666, allocations: 7.984 kB / 0.9513 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.2666, allocations: 4 kB / 0.9513 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-06/0.2666, allocations: 0 / 0.9513 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.2666, allocations: 3.938 kB / 0.9514 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.2667, allocations: 11.98 kB / 0.9514 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.507e-05/0.2667, allocations: 19.95 kB / 0.9514 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.2667, allocations: 3.938 kB / 0.9514 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2667, allocations: 3.938 kB / 0.9514 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2668, allocations: 0 / 0.9514 GB, free: 7.586 MB / 0.7325 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.0004667/0.2672, allocations: 347.7 kB / 0.9517 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.2673, allocations: 8.031 kB / 0.9517 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.2673, allocations: 4.844 kB / 0.9517 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2674, allocations: 164.4 kB / 0.9519 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2675, allocations: 384 / 0.9519 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.2675, allocations: 384 / 0.9519 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.2677, allocations: 50.23 kB / 0.9519 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.2677, allocations: 192 / 0.9519 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2677, allocations: 3.938 kB / 0.9519 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2677, allocations: 4 kB / 0.9519 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.2679, allocations: 39.94 kB / 0.952 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.2682, allocations: 252.9 kB / 0.9522 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.2684, allocations: 42.48 kB / 0.9523 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.181e-05/0.2685, allocations: 28.91 kB / 0.9523 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.2685, allocations: 0 / 0.9523 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.2685, allocations: 30.56 kB / 0.9523 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2685, allocations: 0 / 0.9523 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003416/0.2689, allocations: 89.67 kB / 0.9524 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.2689, allocations: 51.41 kB / 0.9525 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.269, allocations: 101.8 kB / 0.9526 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.269, allocations: 29.7 kB / 0.9526 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.2691, allocations: 88.05 kB / 0.9527 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.2691, allocations: 0 / 0.9527 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.2691, allocations: 13.72 kB / 0.9527 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2693, allocations: 314.8 kB / 0.953 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.2694, allocations: 20 kB / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.2694, allocations: 23.92 kB / 0.953 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.2696, allocations: 32.83 kB / 0.9531 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2696, allocations: 0 / 0.9531 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001952/0.2698, allocations: 81.5 kB / 0.9531 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2698, allocations: 4 kB / 0.9531 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2698, allocations: 4 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2698, allocations: 0 / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.2699, allocations: 11.92 kB / 0.9532 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.27, allocations: 0 / 0.9532 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.27, allocations: 4 kB / 0.9532 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.27, allocations: 0 / 0.9532 GB, free: 5.551 MB / 0.7325 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 8.484e-05/0.2701, allocations: 125.8 kB / 0.9533 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.2701, allocations: 0 / 0.9533 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.913e-05/0.2702, allocations: 3.125 kB / 0.9533 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2702, allocations: 4 kB / 0.9533 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2702, allocations: 0 / 0.9533 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2702, allocations: 0 / 0.9533 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.2703, allocations: 157.6 kB / 0.9534 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2703, allocations: 3.984 kB / 0.9534 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.2704, allocations: 8 kB / 0.9534 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2704, allocations: 0 / 0.9534 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.2704, allocations: 4 kB / 0.9534 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2704, allocations: 3.938 kB / 0.9535 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2704, allocations: 3.984 kB / 0.9535 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.2707, allocations: 163.5 kB / 0.9536 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.2707, allocations: 81.02 kB / 0.9537 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.2707, allocations: 4.234 kB / 0.9537 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.2708, allocations: 12.03 kB / 0.9537 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.2709, allocations: 8 kB / 0.9537 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.2709, allocations: 0 / 0.9537 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.85e-05/0.2709, allocations: 83.27 kB / 0.9538 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2709, allocations: 0 / 0.9538 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002145/0.2711, allocations: 7.938 kB / 0.9538 GB, free: 4.797 MB / 0.7325 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.0001435/0.2713, allocations: 99.25 kB / 0.9539 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.2715, allocations: 47.89 kB / 0.9539 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2715, allocations: 0 / 0.9539 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.954e-05/0.2716, allocations: 15.98 kB / 0.954 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.2719, allocations: 11.94 kB / 0.954 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.2723, allocations: 135.4 kB / 0.9541 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2725, allocations: 0.6805 MB / 0.9548 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.2726, allocations: 11.38 kB / 0.9548 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2726, allocations: 0 / 0.9548 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of Templates: time 0.00197/0.2746, allocations: 0.5468 MB / 0.9553 GB, free: 3.191 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches