Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.001341, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001908/0.001908, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.963/2.963, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003382, allocations: 8.719 kB / 0.9021 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3753, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001013/0.3764, allocations: 491.5 kB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3775, allocations: 0.8507 MB / 1.059 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.3777, allocations: 4 kB / 1.059 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.3777, allocations: 7.922 kB / 1.059 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.457e-05/0.3778, allocations: 3.938 kB / 1.059 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.378, allocations: 31.97 kB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.3781, allocations: 75.72 kB / 1.059 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.3783, allocations: 23.98 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.584e-05/0.3784, allocations: 35.84 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.512e-05/0.3785, allocations: 39.83 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.3785, allocations: 4 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/0.3785, allocations: 4 kB / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.3785, allocations: 7.984 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.3786, allocations: 37.64 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.3787, allocations: 63.84 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3787, allocations: 0 / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3787, allocations: 0 / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3787, allocations: 0 / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006318/0.3794, allocations: 391.3 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3794, allocations: 8.031 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.3795, allocations: 11.89 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.3796, allocations: 175 kB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.3797, allocations: 4 kB / 1.06 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.3797, allocations: 15.89 kB / 1.06 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.38, allocations: 113.6 kB / 1.06 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3801, allocations: 0 / 1.06 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3801, allocations: 0 / 1.06 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3801, allocations: 0 / 1.06 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.3805, allocations: 123.9 kB / 1.06 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/0.3811, allocations: 352.6 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.3817, allocations: 126.6 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.3819, allocations: 76.8 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3819, allocations: 0 / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.382, allocations: 34.5 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.382, allocations: 0 / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006526/0.3826, allocations: 213.5 kB / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.3827, allocations: 51.41 kB / 1.061 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3828, allocations: 121.8 kB / 1.061 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3828, allocations: 25.7 kB / 1.061 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.3829, allocations: 96.05 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.3829, allocations: 27.66 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.3829, allocations: 8 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.383, allocations: 314.8 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.3832, allocations: 59.95 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.3834, allocations: 59.94 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.3836, allocations: 52.38 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3836, allocations: 8 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000404/0.384, allocations: 161.5 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.384, allocations: 4 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.384, allocations: 0 / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3841, allocations: 4 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.3842, allocations: 27.97 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3843, allocations: 3.938 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.3844, allocations: 19.98 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3844, allocations: 3.984 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/0.3845, allocations: 121.7 kB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.3845, allocations: 7.906 kB / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.3846, allocations: 12.38 kB / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3846, allocations: 4 kB / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3846, allocations: 0 / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3846, allocations: 0 / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.3848, allocations: 209.5 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3848, allocations: 4 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.385, allocations: 27.97 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.385, allocations: 0 / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.385, allocations: 0 / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.385, allocations: 0 / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.385, allocations: 3.984 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.3855, allocations: 263.3 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.3855, allocations: 89 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3856, allocations: 3.938 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.3857, allocations: 15.98 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.3858, allocations: 23.97 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.3858, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.3859, allocations: 95.27 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3859, allocations: 4 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002375/0.3861, allocations: 16 kB / 1.063 GB, free: 15.81 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001251/0.3863, allocations: 95.25 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.3867, allocations: 123.9 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3867, allocations: 0 / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.3869, allocations: 75.89 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.3872, allocations: 23.86 kB / 1.063 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.3877, allocations: 189.3 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.388, allocations: 0.6926 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.277e-05/0.3881, allocations: 12.17 kB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.3882, allocations: 15.44 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3882, allocations: 0 / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.0042/0.3924, allocations: 1.305 MB / 1.066 GB, free: 13.23 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches