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.001246/0.001247, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001356/0.001356, allocations: 198.7 kB / 16.26 MB, free: 6.625 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.445/1.445, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.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.637/2.637, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7912/0.7925, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.001998/0.7946, allocations: 0.7296 MB / 0.9498 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009709/0.7956, allocations: 0.7948 MB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.7957, allocations: 1.375 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/0.7957, allocations: 0 / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.7958, allocations: 0 / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.175e-05/0.7959, allocations: 5.359 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.141e-05/0.796, allocations: 21.56 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.7961, allocations: 12.11 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.7962, allocations: 2.75 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.587e-05/0.7963, allocations: 18.66 kB / 0.9507 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.7963, allocations: 6.75 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.7963, allocations: 1.375 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.7963, allocations: 5.375 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.7964, allocations: 13.3 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.029e-05/0.7965, allocations: 25.34 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.7965, allocations: 0 / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7965, allocations: 0 / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.7965, allocations: 0 / 0.9507 GB, free: 7.793 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.0003901/0.7969, allocations: 339.2 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.7969, allocations: 13.62 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.797, allocations: 2.312 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.069e-05/0.7971, allocations: 171 kB / 0.9512 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.7971, allocations: 384 / 0.9512 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.7971, allocations: 1.75 kB / 0.9512 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.7973, allocations: 49.23 kB / 0.9513 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.7973, allocations: 1.562 kB / 0.9513 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.7973, allocations: 7.922 kB / 0.9513 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.7973, allocations: 0 / 0.9513 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.7975, allocations: 43.14 kB / 0.9513 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.7978, allocations: 249.1 kB / 0.9515 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.7979, allocations: 40.28 kB / 0.9516 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/0.798, allocations: 32.81 kB / 0.9516 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.798, allocations: 0 / 0.9516 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.798, allocations: 35.91 kB / 0.9517 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.798, allocations: 0 / 0.9517 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003325/0.7984, allocations: 81.14 kB / 0.9517 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.7984, allocations: 55.53 kB / 0.9518 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.401e-05/0.7985, allocations: 105.3 kB / 0.9519 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.7985, allocations: 25.7 kB / 0.9519 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.7985, allocations: 84.14 kB / 0.952 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.7985, allocations: 5.594 kB / 0.952 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.7986, allocations: 11.22 kB / 0.952 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.243e-05/0.7986, allocations: 320.1 kB / 0.9523 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.7987, allocations: 13.8 kB / 0.9523 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/0.7988, allocations: 21.52 kB / 0.9523 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.7989, allocations: 35.42 kB / 0.9524 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7989, allocations: 0 / 0.9524 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000172/0.7991, allocations: 76.94 kB / 0.9525 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7991, allocations: 9.25 kB / 0.9525 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7991, allocations: 0 / 0.9525 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.7992, allocations: 5.156 kB / 0.9525 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.435e-05/0.7993, allocations: 9.516 kB / 0.9525 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.7993, allocations: 0 / 0.9525 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/0.7993, allocations: 7.734 kB / 0.9525 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.7993, allocations: 1.281 kB / 0.9525 GB, free: 5.965 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.7994, allocations: 115.1 kB / 0.9526 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.7994, allocations: 6.562 kB / 0.9526 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.7995, allocations: 3.125 kB / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.7995, allocations: 1.25 kB / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7995, allocations: 0 / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7995, allocations: 0 / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.7996, allocations: 166.7 kB / 0.9528 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7996, allocations: 0 / 0.9528 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.7997, allocations: 10.06 kB / 0.9528 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.7997, allocations: 1.344 kB / 0.9528 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.7997, allocations: 7.938 kB / 0.9528 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.7997, allocations: 7.922 kB / 0.9528 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7997, allocations: 5.469 kB / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.7999, allocations: 154.4 kB / 0.9529 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.8, allocations: 86.38 kB / 0.953 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.8, allocations: 0 / 0.953 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.8001, allocations: 7.875 kB / 0.953 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.8001, allocations: 9.484 kB / 0.953 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.8001, allocations: 1.25 kB / 0.953 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.796e-05/0.8001, allocations: 79.06 kB / 0.9531 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8002, allocations: 0 / 0.9531 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002102/0.8004, allocations: 3.781 kB / 0.9531 GB, free: 5.273 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 (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.0001379/0.8005, allocations: 102.6 kB / 0.9532 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.8007, allocations: 45.67 kB / 0.9533 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8007, allocations: 0 / 0.9533 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.8008, allocations: 14.98 kB / 0.9533 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.8012, allocations: 11.31 kB / 0.9533 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.8015, allocations: 105 kB / 0.9534 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.8016, allocations: 0.6859 MB / 0.9541 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.8017, allocations: 0 / 0.9541 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.8017, allocations: 9.062 kB / 0.9541 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.8017, allocations: 0 / 0.9541 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of Templates: time 0.002335/0.804, allocations: 392.8 kB / 0.9544 GB, free: 4.117 MB / 0.7169 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/jenkins/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