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.001723/0.001723, allocations: 110.6 kB / 16.41 MB, free: 6.488 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.001989/0.001989, allocations: 187 kB / 17.34 MB, free: 5.762 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.879/1.879, allocations: 222.9 MB / 241 MB, free: 15.15 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.263/2.263, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 63.91 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8741/0.8757, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.001739/0.8775, allocations: 0.6644 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000785/0.8783, allocations: 0.7857 MB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.331e-05/0.8783, allocations: 0.75 kB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.8784, allocations: 4.812 kB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.637e-05/0.8784, allocations: 1.828 kB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.005e-05/0.8785, allocations: 6.297 kB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.8785, allocations: 29.59 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.8786, allocations: 3.859 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.522e-05/0.8787, allocations: 13.17 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.519e-05/0.8787, allocations: 14.55 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.8788, allocations: 2.188 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-06/0.8788, allocations: 2.312 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.8788, allocations: 2.156 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.8788, allocations: 15.11 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.01e-05/0.8789, allocations: 27.64 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8789, allocations: 1.156 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8789, allocations: 0 / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.8789, allocations: 0 / 1.09 GB, free: 4.473 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.0003721/0.8793, allocations: 347.2 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.8794, allocations: 10.61 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.8794, allocations: 2.062 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.612e-05/0.8795, allocations: 162.9 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.8795, allocations: 1.531 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.8795, allocations: 6.156 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.8797, allocations: 49.14 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.8797, allocations: 192 / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.8797, allocations: 13.12 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.8797, allocations: 0 / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.8798, allocations: 37.41 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.8801, allocations: 247.3 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.8802, allocations: 41.09 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.8803, allocations: 29.92 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.8803, allocations: 0 / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.361e-05/0.8804, allocations: 32.16 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8804, allocations: 3.938 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003236/0.8807, allocations: 92.33 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.8807, allocations: 52.2 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.451e-05/0.8808, allocations: 106.7 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-06/0.8808, allocations: 25.7 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.8808, allocations: 87.33 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.8808, allocations: 4.906 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.8809, allocations: 16.52 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.8809, allocations: 313.2 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.881, allocations: 22.14 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/0.8811, allocations: 14.11 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.8812, allocations: 38.08 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.8812, allocations: 3.938 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000177/0.8814, allocations: 75.06 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.8814, allocations: 5.031 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.8814, allocations: 0.6562 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.8815, allocations: 1.344 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.8815, allocations: 8.734 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.8816, allocations: 4.594 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.8816, allocations: 6.25 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.8816, allocations: 0.5625 kB / 1.092 GB, free: 2.746 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.404e-05/0.8817, allocations: 115.7 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.8817, allocations: 1.25 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.93e-05/0.8817, allocations: 8.719 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8817, allocations: 2.016 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.8817, allocations: 0 / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.8817, allocations: 1.094 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.8819, allocations: 160.7 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8819, allocations: 0 / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.8819, allocations: 8.625 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8819, allocations: 7.938 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.8819, allocations: 1.703 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8819, allocations: 0 / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8819, allocations: 2.156 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.8821, allocations: 165.1 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.8822, allocations: 80.88 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.8822, allocations: 5.547 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.8823, allocations: 9.266 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.8823, allocations: 7.703 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.8823, allocations: 0 / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.636e-05/0.8824, allocations: 85.48 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8824, allocations: 0 / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002092/0.8826, allocations: 7.406 kB / 1.093 GB, free: 2.082 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.0001117/0.8827, allocations: 100.6 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.8829, allocations: 43.47 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.8829, allocations: 0 / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.883, allocations: 20.86 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.8833, allocations: 7.047 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.8836, allocations: 135.4 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.8837, allocations: 0.6801 MB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.8837, allocations: 8.5 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.8837, allocations: 0 / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of Templates: time 0.001958/0.8857, allocations: 0.5562 MB / 1.094 GB, free: 1.102 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