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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007903/0.007903, allocations: 103.7 kB / 15.73 MB, free: 5.996 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.001535/0.001535, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.593/1.593, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.049/3.049, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002939/0.002939, allocations: 67.89 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4252, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002333/0.4276, allocations: 0.7849 MB / 1.209 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.4288, allocations: 0.8545 MB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.314e-05/0.4289, allocations: 4 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.36e-05/0.429, allocations: 3.938 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.4291, allocations: 7.875 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.4294, allocations: 43.89 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.4296, allocations: 83.81 kB / 1.209 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.4297, allocations: 31.97 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.4298, allocations: 39.84 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.43, allocations: 47.81 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.43, allocations: 8 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.121e-05/0.43, allocations: 8 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.4301, allocations: 19.92 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.4301, allocations: 39.84 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.4303, allocations: 95.59 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4303, allocations: 0 / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4303, allocations: 3.938 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.4303, allocations: 0 / 1.21 GB, free: 7.531 MB / 0.9669 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.0008354/0.4312, allocations: 387.2 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.4312, allocations: 8.625 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.4313, allocations: 8.844 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.4315, allocations: 184.2 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.4315, allocations: 4.375 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.4315, allocations: 8.375 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.4319, allocations: 109.5 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4319, allocations: 0 / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4319, allocations: 0 / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.4319, allocations: 0 / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.4324, allocations: 107.9 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.433, allocations: 340.6 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007026/0.4337, allocations: 122.6 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.4339, allocations: 56.81 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.434, allocations: 3.938 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.434, allocations: 30.56 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.434, allocations: 4 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0008536/0.4349, allocations: 185.4 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/0.435, allocations: 51.41 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.4351, allocations: 129.7 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.4352, allocations: 29.7 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.4353, allocations: 96 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.4353, allocations: 23.64 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.4354, allocations: 33.7 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4356, allocations: 314.8 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.4358, allocations: 43.95 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.436, allocations: 47.95 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.4363, allocations: 100.7 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4363, allocations: 0 / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004383/0.4368, allocations: 129.6 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.4368, allocations: 5.562 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.4368, allocations: 4 kB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.4369, allocations: 7.984 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.437, allocations: 23.97 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4371, allocations: 0 / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.4372, allocations: 27.81 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4372, allocations: 0 / 1.212 GB, free: 4.734 MB / 0.9669 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 (reaToInt1.y,reaToInt.y,add1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001905/0.4374, allocations: 117.8 kB / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.4375, allocations: 7.938 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.4375, allocations: 12.36 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4375, allocations: 11.94 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4375, allocations: 4 kB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4376, allocations: 3.938 kB / 1.212 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.4379, allocations: 205.4 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4379, allocations: 0 / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.4381, allocations: 23.97 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.4381, allocations: 7.984 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.4381, allocations: 0 / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4381, allocations: 0.5469 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4381, allocations: 0 / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.4386, allocations: 239.4 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.4387, allocations: 85.02 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.4387, allocations: 0 / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.4389, allocations: 23.92 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.439, allocations: 19.91 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.439, allocations: 8 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.031e-05/0.4391, allocations: 91.27 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4391, allocations: 0 / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002406/0.4393, allocations: 12 kB / 1.213 GB, free: 3.781 MB / 0.9669 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 (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.0001871/0.4395, allocations: 103.2 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.44, allocations: 103.9 kB / 1.213 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.44, allocations: 0 / 1.213 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.4402, allocations: 67.88 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.4405, allocations: 8 kB / 1.213 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.4411, allocations: 178 kB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.4415, allocations: 0.6885 MB / 1.214 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.645e-05/0.4416, allocations: 15.98 kB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.4417, allocations: 23.42 kB / 1.214 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.4417, allocations: 0 / 1.214 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of Templates: time 0.005184/0.4469, allocations: 1.626 MB / 1.216 GB, free: 0.9219 MB / 0.9669 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