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.001655/0.001655, allocations: 116.4 kB / 16.37 MB, free: 5.984 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.001814/0.001814, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.13 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.306/2.306, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.47 kB / 0.814 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3272, allocations: 140.4 MB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.002591/0.3299, allocations: 0.6802 MB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3311, allocations: 0.7884 MB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.3311, allocations: 4 kB / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.3312, allocations: 0 / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.3313, allocations: 3.938 kB / 0.9526 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.991e-05/0.3314, allocations: 3.984 kB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.728e-05/0.3314, allocations: 23.94 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3316, allocations: 15.97 kB / 0.9526 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.778e-05/0.3317, allocations: 7.938 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.3317, allocations: 15.92 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.3317, allocations: 0 / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.3317, allocations: 4 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.3318, allocations: 4 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.3318, allocations: 11.94 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.021e-05/0.3319, allocations: 27.89 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3319, allocations: 0 / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3319, allocations: 4 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3319, allocations: 0 / 0.9527 GB, free: 6.402 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.0005159/0.3324, allocations: 339.4 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3325, allocations: 8.031 kB / 0.953 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.3326, allocations: 4.844 kB / 0.953 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.3327, allocations: 164.4 kB / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3327, allocations: 384 / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.3327, allocations: 384 / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3329, allocations: 58.17 kB / 0.9532 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3329, allocations: 192 / 0.9532 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3329, allocations: 3.938 kB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.333, allocations: 0 / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.3331, allocations: 35.95 kB / 0.9533 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.3335, allocations: 249 kB / 0.9535 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3337, allocations: 52.53 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.231e-05/0.3338, allocations: 24.84 kB / 0.9536 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.3338, allocations: 4 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3338, allocations: 34.56 kB / 0.9536 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3338, allocations: 0 / 0.9536 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003308/0.3342, allocations: 81.64 kB / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.3342, allocations: 51.41 kB / 0.9538 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/0.3343, allocations: 101.8 kB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3343, allocations: 25.7 kB / 0.9539 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.3344, allocations: 95.98 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.3344, allocations: 0 / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.3344, allocations: 17.84 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3346, allocations: 314.8 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.841e-05/0.3346, allocations: 15.97 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.3347, allocations: 19.98 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3349, allocations: 32.83 kB / 0.9544 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3349, allocations: 4.062 kB / 0.9544 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001825/0.3351, allocations: 77.44 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3351, allocations: 5.719 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3351, allocations: 0 / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3351, allocations: 4 kB / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.3352, allocations: 11.92 kB / 0.9545 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3352, allocations: 0 / 0.9545 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.3353, allocations: 8.281 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3353, allocations: 4 kB / 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 8.549e-05/0.3354, allocations: 121.8 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.3354, allocations: 0 / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.3354, allocations: 3.125 kB / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.3354, allocations: 0 / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3355, allocations: 4 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3355, allocations: 0 / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.3356, allocations: 161.6 kB / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3356, allocations: 0 / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.3357, allocations: 8 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3357, allocations: 4 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3357, allocations: 4 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3357, allocations: 0 / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3357, allocations: 3.984 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.336, allocations: 163.4 kB / 0.9549 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.336, allocations: 85 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.336, allocations: 3.984 kB / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.3361, allocations: 8 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.3361, allocations: 7.984 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.3362, allocations: 3.938 kB / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.3362, allocations: 79.28 kB / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3362, allocations: 0 / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002123/0.3364, allocations: 7.938 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.0001718/0.3366, allocations: 107.3 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.3368, allocations: 35.95 kB / 0.9552 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3368, allocations: 0 / 0.9552 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.041e-05/0.3369, allocations: 19.92 kB / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.3372, allocations: 7.938 kB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.3375, allocations: 113.6 kB / 0.9554 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.3378, allocations: 0.6844 MB / 0.956 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.218e-05/0.3378, allocations: 0 / 0.956 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.3378, allocations: 7.438 kB / 0.9561 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.3378, allocations: 0 / 0.9561 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of Templates: time 0.002644/0.3405, allocations: 441.3 kB / 0.9565 GB, free: 2.164 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 cvode -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