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.01199/0.01199, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.002299/0.002299, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.592/1.592, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.605/2.605, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001552, allocations: 69.94 kB / 0.9509 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3495, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.002511/0.3521, allocations: 0.6649 MB / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3534, allocations: 0.7965 MB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.3535, allocations: 3.969 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.3535, allocations: 3.938 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.338e-05/0.3536, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.127e-05/0.3537, allocations: 4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.049e-05/0.3537, allocations: 27.92 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3539, allocations: 3.984 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.229e-05/0.3539, allocations: 15.94 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.354, allocations: 11.98 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.354, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.573e-06/0.354, allocations: 7.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.3541, allocations: 7.984 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.3541, allocations: 7.938 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.989e-05/0.3542, allocations: 27.89 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.3542, allocations: 0 / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3542, allocations: 3.938 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.3542, allocations: 0 / 1.09 GB, free: 15.87 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.0004896/0.3547, allocations: 347.4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3548, allocations: 8.031 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.3548, allocations: 0.9375 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.355, allocations: 164.4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.355, allocations: 384 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.355, allocations: 384 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.3552, allocations: 50.23 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3552, allocations: 4.172 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3552, allocations: 7.938 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3552, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.3554, allocations: 39.89 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.3558, allocations: 241 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.3559, allocations: 38.5 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.903e-05/0.356, allocations: 32.89 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.356, allocations: 4 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.356, allocations: 30.56 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.356, allocations: 0 / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003349/0.3564, allocations: 93.58 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.3564, allocations: 51.41 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.492e-05/0.3565, allocations: 97.86 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.3565, allocations: 25.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.3566, allocations: 92.12 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.3566, allocations: 3.906 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.3566, allocations: 13.72 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3567, allocations: 310.8 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.3568, allocations: 23.95 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.3569, allocations: 23.97 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.357, allocations: 36.77 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.357, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001867/0.3572, allocations: 73.66 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3573, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3573, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3573, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.3574, allocations: 11.92 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3574, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.3575, allocations: 4.25 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3575, allocations: 0 / 1.091 GB, free: 13.84 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 7.955e-05/0.3575, allocations: 121.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.3576, allocations: 7.984 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.3576, allocations: 3.125 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.3576, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3576, allocations: 4 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3576, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.3578, allocations: 161.5 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3578, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.3579, allocations: 11.92 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3579, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3579, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3579, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3579, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.3582, allocations: 167.4 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.3583, allocations: 77.11 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.3583, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.3584, allocations: 12.02 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.3584, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.3584, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.441e-05/0.3585, allocations: 87.27 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3585, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002171/0.3587, allocations: 4 kB / 1.092 GB, free: 13.09 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.0002045/0.3589, allocations: 99.78 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.3592, allocations: 43.89 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.3592, allocations: 4 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/0.3593, allocations: 15.98 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.3597, allocations: 9.5 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.3602, allocations: 113.5 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.3606, allocations: 0.6846 MB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.344e-05/0.3606, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.3607, allocations: 7.438 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of SimCode: time 2.445e-06/0.3607, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of Templates: time 0.003328/0.364, allocations: 452.5 kB / 1.093 GB, free: 11.62 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/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