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.001106/0.001106, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001134/0.001134, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.767/2.767, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 65.41 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3274, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002163/0.3296, allocations: 0.7262 MB / 1.053 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000925/0.3306, allocations: 0.7884 MB / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.3306, allocations: 0 / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.3307, allocations: 0 / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.356e-05/0.3308, allocations: 11.91 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.313e-05/0.3308, allocations: 4 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.075e-05/0.3309, allocations: 27.86 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.331, allocations: 8 kB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.3311, allocations: 4 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.678e-05/0.3311, allocations: 19.86 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.3312, allocations: 4 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-06/0.3312, allocations: 0 / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.3312, allocations: 0 / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.3312, allocations: 15.92 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.163e-05/0.3313, allocations: 23.89 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3313, allocations: 0 / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3313, allocations: 0 / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3313, allocations: 0 / 1.054 GB, free: 7.184 MB / 0.8106 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.000473/0.3318, allocations: 343.7 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3319, allocations: 16.03 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.3319, allocations: 4.844 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3321, allocations: 168.4 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.3321, allocations: 384 / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.3321, allocations: 384 / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.3323, allocations: 50.19 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3323, allocations: 4.172 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3323, allocations: 3.938 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3323, allocations: 0 / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.3325, allocations: 35.97 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.3328, allocations: 249 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.333, allocations: 34.5 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.96e-05/0.3331, allocations: 32.84 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.3331, allocations: 0 / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.3331, allocations: 38.56 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3331, allocations: 0 / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003295/0.3334, allocations: 81.55 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.3335, allocations: 55.53 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.3336, allocations: 101.8 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.3336, allocations: 25.7 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.3336, allocations: 88.14 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.3337, allocations: 3.906 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.3337, allocations: 9.719 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3338, allocations: 326.8 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.3339, allocations: 19.92 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/0.334, allocations: 15.98 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3342, allocations: 40.81 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3342, allocations: 256 / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001829/0.3344, allocations: 65.61 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3344, allocations: 8.094 kB / 1.055 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3344, allocations: 4 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3344, allocations: 0 / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.3345, allocations: 15.92 kB / 1.055 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3345, allocations: 0 / 1.055 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.3346, allocations: 7.984 kB / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.3346, allocations: 3.938 kB / 1.055 GB, free: 5.141 MB / 0.8106 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.684e-05/0.3347, allocations: 119.3 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.3347, allocations: 4 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.571e-05/0.3347, allocations: 3.125 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3347, allocations: 0 / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3347, allocations: 0 / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3347, allocations: 4 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.3349, allocations: 161.6 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3349, allocations: 0 / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.3349, allocations: 7.984 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.335, allocations: 3.984 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.335, allocations: 4 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.335, allocations: 4 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.335, allocations: 0 / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.3353, allocations: 167.4 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.3353, allocations: 77.11 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3353, allocations: 0 / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.3354, allocations: 7.938 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.3354, allocations: 12.02 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.3355, allocations: 4 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.3355, allocations: 79.28 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3355, allocations: 0 / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002046/0.3357, allocations: 7.938 kB / 1.056 GB, free: 4.398 MB / 0.8106 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.0001375/0.3358, allocations: 99.23 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.336, allocations: 47.91 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3361, allocations: 0 / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.438e-05/0.3361, allocations: 15.98 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.3365, allocations: 8.969 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.3367, allocations: 113.8 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.337, allocations: 0.6811 MB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.816e-05/0.337, allocations: 4 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.337, allocations: 7.438 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.337, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of Templates: time 0.002275/0.3393, allocations: 374.6 kB / 1.057 GB, free: 3 MB / 0.8106 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/jenkins/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