Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001835/0.001835, allocations: 183 kB / 17.34 MB, free: 5.766 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.512/1.512, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.14 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9315/0.9328, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002173/0.9351, allocations: 0.7713 MB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.9361, allocations: 0.8659 MB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.9362, allocations: 1.094 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.9363, allocations: 10.36 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.369e-05/0.9364, allocations: 6.125 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.9366, allocations: 45.92 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.9367, allocations: 83.14 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.9369, allocations: 25.53 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.279e-05/0.937, allocations: 40.84 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.9371, allocations: 48.41 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.9371, allocations: 8.438 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.343e-05/0.9371, allocations: 7.688 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.9372, allocations: 23.25 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.9372, allocations: 40.09 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.9374, allocations: 82.81 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9374, allocations: 4 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9374, allocations: 0 / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.9374, allocations: 1.156 kB / 1.091 GB, free: 4.172 MB / 0.8575 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.0006638/0.9381, allocations: 384.4 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.9382, allocations: 14.38 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.9382, allocations: 8.156 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.9384, allocations: 182.5 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.9384, allocations: 7.688 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.9384, allocations: 4.828 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.9388, allocations: 107.8 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.9388, allocations: 0.9688 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.9388, allocations: 4 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.9388, allocations: 2.594 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.9392, allocations: 108.9 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.9398, allocations: 348.7 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.9405, allocations: 122.2 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.9407, allocations: 56.5 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.9408, allocations: 1.062 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.9408, allocations: 32.52 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.9408, allocations: 0 / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007232/0.9416, allocations: 187.2 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.9416, allocations: 52.25 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.9417, allocations: 127.1 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.9417, allocations: 31.19 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.9418, allocations: 92.64 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.9418, allocations: 20.36 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.9419, allocations: 27.73 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.9419, allocations: 318.8 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.9421, allocations: 44.23 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.9423, allocations: 49.23 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.9427, allocations: 103.7 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.9427, allocations: 0.6562 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004345/0.9432, allocations: 138.7 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.9432, allocations: 5.688 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.9432, allocations: 0.5156 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.9432, allocations: 4.906 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.9434, allocations: 28.58 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.9434, allocations: 0 / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.9436, allocations: 16.69 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.9436, allocations: 2.891 kB / 1.093 GB, free: 2.219 MB / 0.8575 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,max1.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 8.912e-05/0.9437, allocations: 114.1 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.9437, allocations: 7.891 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.9442, allocations: 148.8 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.9442, allocations: 5.422 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9443, allocations: 0.9688 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.9443, allocations: 4.453 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.9445, allocations: 199.3 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9445, allocations: 0 / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.9447, allocations: 32.81 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.9447, allocations: 0 / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.9447, allocations: 2.844 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.9447, allocations: 0.8125 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9447, allocations: 0 / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.9452, allocations: 235.3 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.9453, allocations: 83.52 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.9453, allocations: 14.16 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.9454, allocations: 16 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/0.9455, allocations: 29.19 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.9456, allocations: 3.453 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.577e-05/0.9456, allocations: 92.72 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9456, allocations: 0 / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002464/0.9459, allocations: 23.53 kB / 1.094 GB, free: 1.434 MB / 0.8575 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 (max1.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.0001602/0.9461, allocations: 98.98 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005146/0.9466, allocations: 107.9 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9466, allocations: 0 / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.9468, allocations: 61.86 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.9472, allocations: 12.5 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.9476, allocations: 197.6 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.9478, allocations: 0.6899 MB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.302e-05/0.9479, allocations: 17.31 kB / 1.095 GB, free: 432 kB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.9479, allocations: 4 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of Templates: time 0.003775/0.9516, allocations: 1.239 MB / 1.096 GB, free: 340 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches