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.001376/0.001376, allocations: 106.3 kB / 16.41 MB, free: 6.008 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.001316/0.001316, allocations: 185.5 kB / 17.34 MB, free: 5.629 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.2 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.281/2.281, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.91 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8842/0.8857, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.002243/0.888, allocations: 0.6749 MB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009221/0.8889, allocations: 0.7872 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.8889, allocations: 1.062 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.889, allocations: 0 / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.39e-05/0.8891, allocations: 4.453 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.308e-05/0.8891, allocations: 7.219 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.836e-05/0.8892, allocations: 34.11 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.8893, allocations: 3.875 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.8894, allocations: 9.625 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.006e-05/0.8894, allocations: 9.578 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.8894, allocations: 2.281 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-06/0.8894, allocations: 1.938 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.8895, allocations: 6.219 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.8895, allocations: 15.14 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.699e-05/0.8896, allocations: 21.77 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.8896, allocations: 5.094 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8896, allocations: 0 / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.8896, allocations: 0 / 1.09 GB, free: 4.422 MB / 0.8575 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.0004099/0.89, allocations: 341.5 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.8901, allocations: 9.031 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.8901, allocations: 2.641 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.305e-05/0.8902, allocations: 167.7 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.8902, allocations: 1.5 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.8902, allocations: 1.469 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.8904, allocations: 52.58 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.8904, allocations: 1.281 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.8904, allocations: 3.938 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.8904, allocations: 1.828 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.8906, allocations: 36.19 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.8909, allocations: 242.8 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.891, allocations: 49.03 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.539e-05/0.8911, allocations: 26.92 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.8911, allocations: 0 / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.8912, allocations: 31.28 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8912, allocations: 1.094 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000343/0.8915, allocations: 95.53 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.8915, allocations: 56.41 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.684e-05/0.8916, allocations: 102.7 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.8916, allocations: 25.7 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.8916, allocations: 86.66 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.8917, allocations: 5.781 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.8917, allocations: 19.84 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.8918, allocations: 313.5 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.8918, allocations: 13.61 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.8919, allocations: 19.77 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.8921, allocations: 41.14 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8921, allocations: 4 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001838/0.8923, allocations: 71.3 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.8923, allocations: 4.875 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.8923, allocations: 0.7969 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.8923, allocations: 1.969 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/0.8924, allocations: 8.625 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.8924, allocations: 0 / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.8925, allocations: 14.23 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.8925, allocations: 0 / 1.092 GB, free: 2.699 MB / 0.8575 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 4.767e-05/0.8925, allocations: 113 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.8926, allocations: 1.031 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.8926, allocations: 9 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.8926, allocations: 4.734 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8926, allocations: 1.188 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.8926, allocations: 0 / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.8927, allocations: 160.4 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8927, allocations: 4.656 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.8928, allocations: 8.641 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8928, allocations: 0.6094 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.8928, allocations: 1.062 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8928, allocations: 0 / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8928, allocations: 1.406 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.893, allocations: 174.2 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.8931, allocations: 81.09 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.8931, allocations: 0 / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.8932, allocations: 11.97 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.8932, allocations: 0.7969 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.8932, allocations: 1.281 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.265e-05/0.8932, allocations: 85.22 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8933, allocations: 0 / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002073/0.8935, allocations: 3.438 kB / 1.093 GB, free: 2.043 MB / 0.8575 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.0001207/0.8936, allocations: 108.5 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.8938, allocations: 36.38 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8938, allocations: 0 / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.8939, allocations: 23.92 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.8942, allocations: 16.05 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.8945, allocations: 127.5 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.762e-05/0.8946, allocations: 0.6768 MB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.8946, allocations: 9.688 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.8946, allocations: 0 / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of Templates: time 0.002225/0.8968, allocations: 0.5563 MB / 1.094 GB, free: 1.055 MB / 0.8575 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