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.001717/0.001717, allocations: 108.2 kB / 16.41 MB, free: 6.492 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.002025/0.002025, allocations: 183 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.71/2.71, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 71.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8736/0.8752, 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.002011/0.8772, allocations: 0.6714 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009637/0.8782, allocations: 0.7884 MB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.8783, allocations: 0 / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.8783, allocations: 0 / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.244e-05/0.8784, allocations: 11.94 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.455e-05/0.8785, allocations: 7.984 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.8786, allocations: 19.94 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.8787, allocations: 15.98 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.869e-05/0.8788, allocations: 7.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.029e-05/0.8788, allocations: 11.98 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.8788, allocations: 0 / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.8788, allocations: 4 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.8789, allocations: 11.92 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.8789, allocations: 11.92 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.753e-05/0.879, allocations: 23.97 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.879, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.727e-06/0.879, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.879, allocations: 3.938 kB / 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.0004335/0.8795, allocations: 339.3 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.8795, allocations: 12.03 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.8795, allocations: 0.9375 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.8797, allocations: 164.3 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.8797, allocations: 8.375 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.8797, allocations: 384 / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.8799, allocations: 50.23 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.8799, allocations: 192 / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.8799, allocations: 3.938 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.8799, allocations: 0 / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.8801, allocations: 35.95 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.8805, allocations: 248.9 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.8806, allocations: 46.42 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.485e-05/0.8807, allocations: 24.91 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.8807, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.8807, allocations: 34.56 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8808, allocations: 4 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003525/0.8811, allocations: 85.56 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.8812, allocations: 55.41 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.8812, allocations: 101.8 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.8813, allocations: 25.7 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.8813, allocations: 92.27 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.8813, allocations: 7.906 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.8814, allocations: 13.66 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8815, allocations: 318.8 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.8816, allocations: 15.97 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.8817, allocations: 15.98 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.8819, allocations: 40.89 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8819, allocations: 0 / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001924/0.8821, allocations: 73.53 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8821, allocations: 4 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8821, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.8821, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.818e-05/0.8822, allocations: 16.02 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.8822, allocations: 4.188 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.8823, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.8823, allocations: 4 kB / 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 7.449e-05/0.8824, allocations: 117.8 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.8824, allocations: 7.906 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.8824, allocations: 3.125 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8824, allocations: 0 / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8825, allocations: 4 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8825, allocations: 0 / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.8826, allocations: 165.6 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8826, allocations: 0 / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.8827, allocations: 4 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.8827, allocations: 0 / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.8827, allocations: 0 / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.8827, allocations: 4 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.8827, allocations: 3.984 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.883, allocations: 167.4 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.883, allocations: 82.92 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.883, allocations: 0 / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.8831, allocations: 4 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.8832, allocations: 7.984 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.8832, allocations: 0 / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.8832, allocations: 83.31 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8832, allocations: 4 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002115/0.8835, allocations: 0 / 1.212 GB, free: 9.281 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.000135/0.8836, allocations: 99.25 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.8838, allocations: 39.95 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8838, allocations: 4 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.49e-05/0.8839, allocations: 19.98 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.8842, allocations: 11.88 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.8846, allocations: 143.1 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.8849, allocations: 0.6768 MB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.8849, allocations: 11.44 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.8849, allocations: 0 / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of Templates: time 0.001926/0.8869, allocations: 0.5488 MB / 1.214 GB, free: 7.66 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