Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 101.7 kB / 16.27 MB, free: 5.969 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.001458/0.001458, allocations: 191.4 kB / 17.2 MB, free: 5.594 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.455/1.455, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.186/2.186, allocations: 390.3 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 65.41 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.258, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002198/0.2602, allocations: 0.6954 MB / 0.951 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.2613, allocations: 0.8372 MB / 0.9518 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.2614, allocations: 4 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.2614, allocations: 3.938 kB / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.381e-05/0.2615, allocations: 7.922 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.2616, allocations: 27.91 kB / 0.9518 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.738e-05/0.2617, allocations: 39.97 kB / 0.9519 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.2618, allocations: 8 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.2619, allocations: 27.86 kB / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.262, allocations: 31.89 kB / 0.9519 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.262, allocations: 4 kB / 0.9519 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.2621, allocations: 7.938 kB / 0.9519 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.2621, allocations: 8 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.2621, allocations: 19.86 kB / 0.952 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.908e-05/0.2622, allocations: 47.84 kB / 0.952 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2622, allocations: 4 kB / 0.952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2622, allocations: 0 / 0.952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2623, allocations: 0 / 0.952 GB, free: 7.062 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005161/0.2628, allocations: 351.6 kB / 0.9524 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2628, allocations: 15.97 kB / 0.9524 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.2629, allocations: 0.9375 kB / 0.9524 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.263, allocations: 176.3 kB / 0.9525 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2631, allocations: 384 / 0.9525 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.2631, allocations: 4.375 kB / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.2633, allocations: 69.72 kB / 0.9526 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2633, allocations: 0 / 0.9526 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2633, allocations: 4 kB / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2634, allocations: 4 kB / 0.9526 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.2636, allocations: 51.95 kB / 0.9527 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.264, allocations: 288.7 kB / 0.9529 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.2643, allocations: 70.48 kB / 0.953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.2644, allocations: 32.91 kB / 0.953 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.2644, allocations: 0 / 0.953 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.2644, allocations: 34.56 kB / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2644, allocations: 0 / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004392/0.2649, allocations: 113.5 kB / 0.9532 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.2649, allocations: 55.34 kB / 0.9532 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.576e-05/0.265, allocations: 105.8 kB / 0.9533 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.2651, allocations: 29.7 kB / 0.9534 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.2651, allocations: 88.12 kB / 0.9534 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.2651, allocations: 15.75 kB / 0.9535 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.2652, allocations: 13.72 kB / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.2653, allocations: 326.8 kB / 0.9538 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.2654, allocations: 23.98 kB / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.474e-05/0.2655, allocations: 23.97 kB / 0.9538 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.2657, allocations: 53.09 kB / 0.9539 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2658, allocations: 0 / 0.9539 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002486/0.266, allocations: 89.58 kB / 0.954 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.266, allocations: 11.98 kB / 0.954 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.266, allocations: 320 / 0.954 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2661, allocations: 0 / 0.954 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.2662, allocations: 11.98 kB / 0.954 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2662, allocations: 0 / 0.954 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.014e-05/0.2663, allocations: 4 kB / 0.954 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.2663, allocations: 15.97 kB / 0.954 GB, free: 4.797 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: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.92e-05/0.2664, allocations: 109.8 kB / 0.9541 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.2664, allocations: 11.91 kB / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.2665, allocations: 7.906 kB / 0.9541 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2665, allocations: 0 / 0.9541 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2665, allocations: 0 / 0.9541 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2665, allocations: 0 / 0.9541 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.2667, allocations: 189.5 kB / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2667, allocations: 0 / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.688e-05/0.2668, allocations: 11.98 kB / 0.9543 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2668, allocations: 0 / 0.9543 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.2668, allocations: 0 / 0.9543 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2668, allocations: 8 kB / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2668, allocations: 0 / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.2671, allocations: 187.4 kB / 0.9545 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.2672, allocations: 81.02 kB / 0.9546 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.2672, allocations: 0 / 0.9546 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.606e-05/0.2673, allocations: 7.984 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.2674, allocations: 15.98 kB / 0.9546 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.2674, allocations: 4 kB / 0.9546 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.2674, allocations: 87.27 kB / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.943e-06/0.2675, allocations: 0 / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002253/0.2677, allocations: 11.94 kB / 0.9547 GB, free: 3.98 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001122/0.2678, allocations: 99.19 kB / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.2681, allocations: 71.88 kB / 0.9549 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2681, allocations: 0 / 0.9549 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.2682, allocations: 23.98 kB / 0.9549 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.2685, allocations: 7.984 kB / 0.9549 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.2689, allocations: 151.3 kB / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.2692, allocations: 0.6883 MB / 0.9557 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.2693, allocations: 15.42 kB / 0.9557 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.2693, allocations: 0 / 0.9557 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of Templates: time 0.002428/0.2717, allocations: 0.8046 MB / 0.9565 GB, free: 2.059 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches