Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.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.001718/0.001718, allocations: 104.1 kB / 16.35 MB, free: 6.34 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.002002/0.002002, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.16 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.287/2.287, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.31 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2681, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.002108/0.2703, allocations: 0.6828 MB / 0.9518 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008674/0.2711, allocations: 0.7944 MB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.2712, allocations: 0 / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.2712, allocations: 3.938 kB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-05/0.2713, allocations: 3.938 kB / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.35e-05/0.2714, allocations: 11.98 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.2714, allocations: 19.98 kB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2716, allocations: 8 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.2716, allocations: 19.86 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.2717, allocations: 8 kB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2717, allocations: 0 / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.2717, allocations: 4 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.2717, allocations: 11.86 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.2718, allocations: 11.94 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.238e-05/0.2719, allocations: 31.88 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2719, allocations: 0 / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.043e-06/0.2719, allocations: 0 / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2719, allocations: 4 kB / 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.0004694/0.2724, allocations: 343.4 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2724, allocations: 8.031 kB / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.2725, allocations: 8.844 kB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2726, allocations: 168.4 kB / 0.9532 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.2726, allocations: 384 / 0.9532 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.2726, allocations: 4.375 kB / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.2728, allocations: 58.17 kB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.2728, allocations: 192 / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2728, allocations: 3.938 kB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2728, allocations: 0 / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.273, allocations: 35.95 kB / 0.9533 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.2734, allocations: 240.9 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.2735, allocations: 46.53 kB / 0.9536 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.2736, allocations: 24.91 kB / 0.9536 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.2736, allocations: 3.938 kB / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.2736, allocations: 30.56 kB / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2736, allocations: 0 / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003459/0.274, allocations: 93.53 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.274, allocations: 51.41 kB / 0.9538 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.208e-05/0.2741, allocations: 105.8 kB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.2741, allocations: 25.7 kB / 0.9539 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.2742, allocations: 88.14 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.2742, allocations: 7.844 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.2742, allocations: 13.72 kB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2744, allocations: 323 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.2744, allocations: 11.98 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.2745, allocations: 23.92 kB / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.2747, allocations: 36.77 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2747, allocations: 0 / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000166/0.2748, allocations: 73.66 kB / 0.9545 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2749, allocations: 8 kB / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2749, allocations: 0 / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2749, allocations: 0 / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/0.275, allocations: 11.98 kB / 0.9545 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.275, allocations: 0 / 0.9545 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.2751, allocations: 11.92 kB / 0.9545 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.2751, allocations: 0 / 0.9545 GB, free: 4.367 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 7.015e-05/0.2751, allocations: 123.7 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.2752, allocations: 3.906 kB / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.2752, allocations: 11.53 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2752, allocations: 0 / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2752, allocations: 0 / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2752, allocations: 0 / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.2754, allocations: 161.6 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2754, allocations: 0 / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.2754, allocations: 11.98 kB / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2754, allocations: 4.25 kB / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2755, allocations: 0 / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.2755, allocations: 4 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2755, allocations: 0 / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.2757, allocations: 163.5 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.2757, allocations: 81.11 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.2757, allocations: 4.031 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.2758, allocations: 7.984 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.2759, allocations: 3.938 kB / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.2759, allocations: 0 / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.912e-05/0.2759, allocations: 83.28 kB / 0.9551 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2759, allocations: 0 / 0.9551 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002079/0.2761, allocations: 4 kB / 0.9551 GB, free: 3.617 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.0001167/0.2763, allocations: 109.3 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001942/0.2765, allocations: 31.97 kB / 0.9553 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2765, allocations: 0 / 0.9553 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.2766, allocations: 19.98 kB / 0.9553 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.2769, allocations: 19.8 kB / 0.9553 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.2771, allocations: 113.6 kB / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.2774, allocations: 0.6766 MB / 0.9561 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.2774, allocations: 3.984 kB / 0.9561 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.2774, allocations: 7.438 kB / 0.9561 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.2774, allocations: 4 kB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of Templates: time 0.002425/0.2799, allocations: 451.4 kB / 0.9565 GB, free: 2.145 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches