Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_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_latest_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.001331/0.001331, 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.001552/0.001552, allocations: 198.6 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.534/1.534, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.077/3.077, allocations: 472.6 MB / 0.7452 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 74.95 kB / 0.9121 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4166, allocations: 159.9 MB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002478/0.4192, allocations: 0.7034 MB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.4205, allocations: 0.8372 MB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.4205, allocations: 0 / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.932e-05/0.4206, allocations: 7.938 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.946e-05/0.4207, allocations: 3.938 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.4209, allocations: 15.98 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.421, allocations: 55.83 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.4212, allocations: 15.98 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.339e-05/0.4213, allocations: 15.94 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.12e-05/0.4214, allocations: 27.91 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.4214, allocations: 7.938 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.773e-05/0.4214, allocations: 4 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.4214, allocations: 11.97 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.4215, allocations: 19.88 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.4216, allocations: 47.84 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4216, allocations: 4 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4216, allocations: 0 / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.4216, allocations: 0 / 1.07 GB, free: 8.543 MB / 0.8262 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.0006157/0.4223, allocations: 355.7 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4223, allocations: 11.97 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.4224, allocations: 8.844 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.4225, allocations: 160.4 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4226, allocations: 4.375 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.4226, allocations: 8.375 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.4228, allocations: 69.78 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4228, allocations: 0 / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4228, allocations: 0 / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4228, allocations: 0 / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.4231, allocations: 51.94 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.4236, allocations: 296.6 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.4239, allocations: 66.53 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.424, allocations: 32.92 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.424, allocations: 8 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.4241, allocations: 34.56 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 3.637e-06/0.4241, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000464/0.4245, allocations: 113.5 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.4246, allocations: 55.41 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.4247, allocations: 105.8 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.4248, allocations: 25.7 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.4248, allocations: 92.05 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.4249, allocations: 7.906 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.4249, allocations: 21.7 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4251, allocations: 314.8 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.4252, allocations: 27.97 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.4254, allocations: 23.98 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.4256, allocations: 61.03 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4256, allocations: 0 / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002437/0.4259, allocations: 93.53 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.4259, allocations: 4 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4259, allocations: 0 / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.4259, allocations: 4 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.4261, allocations: 11.98 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.4261, allocations: 3.938 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.4262, allocations: 11.98 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.4262, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8262 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 9.781e-05/0.4263, allocations: 119.8 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.4263, allocations: 0 / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.4264, allocations: 15.84 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4264, allocations: 0 / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4264, allocations: 0 / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4264, allocations: 3.984 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.4266, allocations: 177.5 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4266, allocations: 4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.07e-05/0.4267, allocations: 11.98 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.4267, allocations: 0 / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4267, allocations: 7.922 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4267, allocations: 0 / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4268, allocations: 0 / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.4272, allocations: 191.3 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.4272, allocations: 77.11 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.4273, allocations: 0 / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.4274, allocations: 11.98 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.4274, allocations: 4 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.4274, allocations: 11.92 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.201e-05/0.4275, allocations: 83.28 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4275, allocations: 0 / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002197/0.4277, allocations: 12 kB / 1.073 GB, free: 5.461 MB / 0.8262 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.0001603/0.4279, allocations: 105.2 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.4282, allocations: 55.94 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4282, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.4283, allocations: 35.91 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.4286, allocations: 6.953 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.4291, allocations: 141.4 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.4294, allocations: 0.6846 MB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.689e-05/0.4295, allocations: 8 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.4295, allocations: 11.44 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.4295, allocations: 0 / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of Templates: time 0.004091/0.4336, allocations: 0.8845 MB / 1.075 GB, free: 3.484 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches