Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002213/0.002213, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.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.419/2.419, allocations: 390.2 MB / 0.6642 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8319/0.8331, allocations: 140.4 MB / 0.9489 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002459/0.8357, allocations: 0.8293 MB / 0.9497 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009584/0.8366, allocations: 0.8738 MB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.8367, allocations: 1.375 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.695e-05/0.8368, allocations: 7.875 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.029e-05/0.8369, allocations: 5.312 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.837, allocations: 34.84 kB / 0.9506 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.8372, allocations: 78.25 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.8373, allocations: 29.55 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.136e-05/0.8374, allocations: 28.23 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.8375, allocations: 49.56 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.8375, allocations: 5.5 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.907e-05/0.8376, allocations: 4.125 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.8376, allocations: 22.66 kB / 0.9508 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.8377, allocations: 34.66 kB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.8378, allocations: 82.84 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8378, allocations: 4 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8378, allocations: 0 / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.8378, allocations: 0 / 0.951 GB, free: 7.605 MB / 0.7169 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.0006278/0.8384, allocations: 390.1 kB / 0.9513 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.8385, allocations: 9.188 kB / 0.9513 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.8386, allocations: 12.69 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.8387, allocations: 176.7 kB / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.8387, allocations: 2.938 kB / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.8388, allocations: 11.78 kB / 0.9515 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.8391, allocations: 106.2 kB / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.8391, allocations: 0 / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.8392, allocations: 0 / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.8392, allocations: 1.438 kB / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.8396, allocations: 104.2 kB / 0.9517 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.8402, allocations: 350.7 kB / 0.9521 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006658/0.8409, allocations: 122.7 kB / 0.9522 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.8411, allocations: 50.53 kB / 0.9522 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.8411, allocations: 1.375 kB / 0.9522 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.8411, allocations: 39.91 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.8411, allocations: 0 / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006639/0.8418, allocations: 179.6 kB / 0.9525 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.8418, allocations: 52.75 kB / 0.9525 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.8419, allocations: 121.3 kB / 0.9526 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.842, allocations: 27.17 kB / 0.9526 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.842, allocations: 102.2 kB / 0.9527 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.842, allocations: 26.86 kB / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.8421, allocations: 23.52 kB / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.8422, allocations: 329.3 kB / 0.9531 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.8424, allocations: 47.2 kB / 0.9531 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.8426, allocations: 49.05 kB / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.8429, allocations: 98.09 kB / 0.9533 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8429, allocations: 0 / 0.9533 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003844/0.8433, allocations: 136.7 kB / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.8433, allocations: 5.031 kB / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8433, allocations: 4 kB / 0.9534 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.8434, allocations: 1.188 kB / 0.9534 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.8435, allocations: 24.53 kB / 0.9535 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.8436, allocations: 4 kB / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.8437, allocations: 19.7 kB / 0.9535 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.8437, allocations: 5.422 kB / 0.9535 GB, free: 5.363 MB / 0.7169 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,min1.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.298e-05/0.8438, allocations: 113.7 kB / 0.9536 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.8438, allocations: 15.78 kB / 0.9536 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.8443, allocations: 147.1 kB / 0.9537 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.8443, allocations: 1.375 kB / 0.9537 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8443, allocations: 0 / 0.9537 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.8443, allocations: 13.34 kB / 0.9538 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.8445, allocations: 191.1 kB / 0.9539 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8445, allocations: 4 kB / 0.9539 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.8447, allocations: 28.53 kB / 0.954 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.8447, allocations: 1.188 kB / 0.954 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.8447, allocations: 3.984 kB / 0.954 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8447, allocations: 1.156 kB / 0.954 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8447, allocations: 0 / 0.954 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.8452, allocations: 248 kB / 0.9542 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.8453, allocations: 79.92 kB / 0.9543 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.8453, allocations: 0 / 0.9543 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.8454, allocations: 11.61 kB / 0.9543 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.8455, allocations: 26.44 kB / 0.9543 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.8455, allocations: 6.188 kB / 0.9543 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.8456, allocations: 97.77 kB / 0.9544 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8456, allocations: 4 kB / 0.9544 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002406/0.8459, allocations: 23.88 kB / 0.9545 GB, free: 4.469 MB / 0.7169 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 (min1.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.0001498/0.846, allocations: 103.8 kB / 0.9546 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.8464, allocations: 101.8 kB / 0.9546 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8465, allocations: 1.125 kB / 0.9547 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.8467, allocations: 66.5 kB / 0.9547 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.8471, allocations: 8.062 kB / 0.9547 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.8475, allocations: 197.6 kB / 0.9549 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.8477, allocations: 0.692 MB / 0.9556 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.491e-05/0.8478, allocations: 11.19 kB / 0.9556 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.463e-05/0.8479, allocations: 16.2 kB / 0.9556 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8479, allocations: 0 / 0.9556 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of Templates: time 0.003979/0.8518, allocations: 1.347 MB / 0.9569 GB, free: 2.715 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches