Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001259/0.001259, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001215/0.001215, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.457/2.457, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6797/0.6809, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001942/0.6829, allocations: 0.6702 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008674/0.6838, allocations: 0.7883 MB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.6839, allocations: 0 / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.6839, allocations: 0 / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/0.684, allocations: 3.938 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.746e-05/0.6841, allocations: 11.98 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.805e-05/0.6841, allocations: 23.92 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.6843, allocations: 16 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.599e-05/0.6843, allocations: 11.92 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.725e-05/0.6844, allocations: 8 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.6844, allocations: 0 / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-06/0.6844, allocations: 4 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.6844, allocations: 11.92 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.6845, allocations: 7.984 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.037e-05/0.6845, allocations: 19.91 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6846, allocations: 4 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6846, allocations: 4 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.6846, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 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.0004542/0.685, allocations: 339.3 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.6851, allocations: 12.03 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.6851, allocations: 4.922 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.6852, allocations: 160.4 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.6852, allocations: 384 / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.6853, allocations: 4.375 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.6854, allocations: 62.11 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.6855, allocations: 4.125 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.6855, allocations: 3.938 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.6855, allocations: 0 / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.6856, allocations: 31.97 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.686, allocations: 252.9 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.6861, allocations: 42.44 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.938e-05/0.6862, allocations: 24.91 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.6862, allocations: 3.984 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.6862, allocations: 34.56 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.6862, allocations: 0 / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003224/0.6866, allocations: 81.64 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.6866, allocations: 55.39 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.6867, allocations: 101.9 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.6867, allocations: 29.64 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.6868, allocations: 88.14 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.6868, allocations: 11.89 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.6868, allocations: 13.84 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.6869, allocations: 314.8 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.687, allocations: 15.98 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.6871, allocations: 15.98 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.6872, allocations: 40.81 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6872, allocations: 4.062 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001837/0.6874, allocations: 65.61 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.6874, allocations: 4 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.6875, allocations: 3.984 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.6875, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.6876, allocations: 12.19 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6876, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.6876, allocations: 16.02 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.6876, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 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 6.731e-05/0.6877, allocations: 113.8 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.6877, allocations: 7.906 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.81e-05/0.6878, allocations: 3.125 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.6878, allocations: 0 / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6878, allocations: 7.922 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.6878, allocations: 0 / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.6879, allocations: 157.6 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6879, allocations: 4 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.688, allocations: 11.98 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.688, allocations: 0 / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-06/0.688, allocations: 0 / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.688, allocations: 0 / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.688, allocations: 7.938 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.6883, allocations: 171.4 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.6883, allocations: 78.94 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.6883, allocations: 0 / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.6884, allocations: 7.984 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.6884, allocations: 4 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.6885, allocations: 0 / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.6885, allocations: 79.28 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6885, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000206/0.6887, allocations: 4 kB / 1.212 GB, free: 9.277 MB / 0.9356 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.0001292/0.6888, allocations: 107.3 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.6891, allocations: 35.97 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6891, allocations: 0 / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.104e-05/0.6892, allocations: 23.91 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.6894, allocations: 11.94 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.6897, allocations: 139.2 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.6899, allocations: 0.6729 MB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.69, allocations: 11.44 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.69, allocations: 0 / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of Templates: time 0.001675/0.6917, allocations: 0.5529 MB / 1.214 GB, free: 7.656 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches