Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.494/1.494, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.651/2.651, allocations: 437 MB / 0.7103 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 67.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8443/0.8458, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001988/0.8478, allocations: 0.7139 MB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.8487, allocations: 0.8312 MB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.8488, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.8488, allocations: 3.938 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.8489, allocations: 7.938 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.849, allocations: 27.91 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.539e-05/0.8491, allocations: 43.86 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.8492, allocations: 23.97 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.276e-05/0.8493, allocations: 15.98 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.8494, allocations: 23.86 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.8494, allocations: 4 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.247e-05/0.8494, allocations: 4 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.8494, allocations: 19.97 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.8495, allocations: 15.88 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.21e-05/0.8496, allocations: 43.86 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.8496, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.694e-06/0.8496, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.8496, allocations: 4 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004598/0.85, allocations: 359 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.8501, allocations: 12.03 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.8501, allocations: 0.9375 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.8503, allocations: 176.2 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.8503, allocations: 4.375 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.8503, allocations: 4.375 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.8505, allocations: 81.7 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.8505, allocations: 0 / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.8505, allocations: 0 / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8505, allocations: 0 / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.8508, allocations: 51.95 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.8512, allocations: 280.8 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.8514, allocations: 70.56 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.8515, allocations: 28.89 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.8515, allocations: 4 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.8515, allocations: 34.55 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.8516, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004128/0.852, allocations: 117.5 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.852, allocations: 55.34 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.8521, allocations: 105.8 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.8521, allocations: 29.7 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.8522, allocations: 84.14 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.8522, allocations: 19.81 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.8522, allocations: 21.7 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8524, allocations: 322.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.8525, allocations: 23.97 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.8526, allocations: 19.98 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.8528, allocations: 57.08 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8528, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002486/0.853, allocations: 93.58 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.8531, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.8531, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.8531, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.8532, allocations: 11.98 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.8532, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.8533, allocations: 7.984 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.8533, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.35e-05/0.8534, allocations: 117.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.8534, allocations: 7.906 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.8535, allocations: 7.906 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8535, allocations: 3.984 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8535, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.8535, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.8537, allocations: 169.6 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8537, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.8538, allocations: 19.92 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.8538, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.8538, allocations: 3.984 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8538, allocations: 4.25 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8538, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.8541, allocations: 179.4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.8542, allocations: 92.95 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.8542, allocations: 4 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.8543, allocations: 7.984 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.8544, allocations: 11.98 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.8544, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.907e-05/0.8544, allocations: 87.27 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8545, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000227/0.8547, allocations: 8 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001284/0.8548, allocations: 115.1 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002619/0.8551, allocations: 51.95 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8551, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.8552, allocations: 31.97 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.8555, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.8559, allocations: 144 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.8561, allocations: 0.6807 MB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.417e-05/0.8562, allocations: 4 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.8562, allocations: 15.42 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.8562, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of Templates: time 0.003138/0.8594, allocations: 0.8728 MB / 1.024 GB, free: 11.68 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches