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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00164/0.001641, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.00188/0.00188, allocations: 191 kB / 17.29 MB, free: 5.516 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.86 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2773, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.002048/0.2794, allocations: 0.6763 MB / 0.9518 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008644/0.2803, allocations: 0.7884 MB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.2803, allocations: 0 / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.2804, allocations: 3.984 kB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.21e-05/0.2804, allocations: 7.938 kB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.621e-05/0.2805, allocations: 0 / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.705e-05/0.2806, allocations: 31.92 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2807, allocations: 8 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.2808, allocations: 15.91 kB / 0.9526 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.2808, allocations: 7.984 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.2808, allocations: 4 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-06/0.2809, allocations: 0 / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.2809, allocations: 7.938 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.2809, allocations: 8 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.719e-05/0.281, allocations: 27.89 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.281, allocations: 4 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.305e-06/0.281, allocations: 0 / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.281, allocations: 0 / 0.9527 GB, free: 6.418 MB / 0.7325 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.0004808/0.2815, allocations: 339.4 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.2816, allocations: 8.031 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.2816, allocations: 8.844 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.2817, allocations: 164.3 kB / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.2818, allocations: 384 / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.2818, allocations: 4.375 kB / 0.9532 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.2819, allocations: 50.23 kB / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.282, allocations: 4.125 kB / 0.9532 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.282, allocations: 7.938 kB / 0.9532 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.282, allocations: 0 / 0.9532 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.2821, allocations: 31.95 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.2825, allocations: 249 kB / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.2826, allocations: 44.55 kB / 0.9536 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.2827, allocations: 28.89 kB / 0.9536 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.2828, allocations: 0 / 0.9536 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.2828, allocations: 34.56 kB / 0.9536 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.2828, allocations: 3.938 kB / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003222/0.2831, allocations: 81.64 kB / 0.9537 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.2832, allocations: 55.34 kB / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.2832, allocations: 105.9 kB / 0.9538 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.2833, allocations: 25.7 kB / 0.9539 GB, free: 5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.2833, allocations: 92.03 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.2833, allocations: 3.984 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.2834, allocations: 17.84 kB / 0.954 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2835, allocations: 314.8 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.2836, allocations: 15.98 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.2836, allocations: 19.97 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.2838, allocations: 40.89 kB / 0.9544 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2838, allocations: 0 / 0.9544 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000171/0.284, allocations: 73.44 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.284, allocations: 10.19 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.284, allocations: 0 / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.284, allocations: 0 / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.2841, allocations: 4 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2841, allocations: 7.984 kB / 0.9544 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.2842, allocations: 4.031 kB / 0.9545 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.2842, allocations: 4 kB / 0.9545 GB, free: 4.379 MB / 0.7325 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.893e-05/0.2842, allocations: 115.8 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.2843, allocations: 0 / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.2843, allocations: 11.11 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2843, allocations: 0 / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2843, allocations: 0 / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.2843, allocations: 3.938 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.2845, allocations: 157.6 kB / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2845, allocations: 4 kB / 0.9547 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.2845, allocations: 11.98 kB / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2845, allocations: 3.984 kB / 0.9547 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2845, allocations: 4 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2845, allocations: 0 / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2846, allocations: 0 / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.2848, allocations: 167.4 kB / 0.9549 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.2848, allocations: 81.02 kB / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.2848, allocations: 4 kB / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.2849, allocations: 7.984 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.2849, allocations: 4 kB / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.2849, allocations: 256 / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.285, allocations: 87.27 kB / 0.9551 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.285, allocations: 0 / 0.9551 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002132/0.2852, allocations: 11.88 kB / 0.9551 GB, free: 3.625 MB / 0.7325 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.0001451/0.2854, allocations: 107.3 kB / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.2856, allocations: 31.97 kB / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2856, allocations: 0 / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.2857, allocations: 23.91 kB / 0.9553 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.2859, allocations: 13.09 kB / 0.9553 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.2862, allocations: 105.6 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.2865, allocations: 0.6805 MB / 0.956 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.2865, allocations: 0 / 0.956 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.2866, allocations: 11.44 kB / 0.956 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.2866, allocations: 0 / 0.956 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of Templates: time 0.002347/0.2889, allocations: 438.1 kB / 0.9565 GB, free: 2.172 MB / 0.7325 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 -s gbode -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