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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 108 kB / 15.61 MB, free: 152 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.002061/0.002061, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.416/2.416, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 71.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.646/0.6481, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001726/0.6498, allocations: 0.7675 MB / 0.9505 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007393/0.6506, allocations: 0.8688 MB / 0.9513 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.6507, allocations: 1.312 kB / 0.9513 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.6507, allocations: 11.86 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.954e-05/0.6508, allocations: 9.391 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.6509, allocations: 42.86 kB / 0.9514 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.928e-05/0.651, allocations: 82.52 kB / 0.9515 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.6511, allocations: 27.08 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/0.6512, allocations: 41 kB / 0.9515 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.6513, allocations: 48.16 kB / 0.9516 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.6513, allocations: 8 kB / 0.9516 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.882e-05/0.6513, allocations: 8.875 kB / 0.9516 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.6514, allocations: 18.52 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.6514, allocations: 38.09 kB / 0.9517 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.743e-05/0.6515, allocations: 83.06 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6515, allocations: 4 kB / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6515, allocations: 1.5 kB / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.6515, allocations: 0 / 0.9517 GB, free: 7.598 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.0005235/0.6521, allocations: 393.6 kB / 0.9521 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.6521, allocations: 8.375 kB / 0.9521 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.236e-05/0.6522, allocations: 41.39 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.6522, allocations: 11.88 kB / 0.9522 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.2e-05/0.6523, allocations: 177.6 kB / 0.9523 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.6523, allocations: 11.53 kB / 0.9524 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.6523, allocations: 3.531 kB / 0.9524 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.6526, allocations: 108.2 kB / 0.9525 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.6526, allocations: 1.562 kB / 0.9525 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.6527, allocations: 3.938 kB / 0.9525 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.6527, allocations: 2.062 kB / 0.9525 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.653, allocations: 102.6 kB / 0.9526 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.6535, allocations: 351.4 kB / 0.9529 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/0.654, allocations: 118.6 kB / 0.953 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.6542, allocations: 54.31 kB / 0.9531 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.6543, allocations: 1.125 kB / 0.9531 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.6543, allocations: 35.72 kB / 0.9531 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.6543, allocations: 1.875 kB / 0.9531 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006443/0.6549, allocations: 178.8 kB / 0.9533 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.655, allocations: 52.69 kB / 0.9533 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/0.6551, allocations: 129.2 kB / 0.9534 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.6551, allocations: 30.92 kB / 0.9535 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.6551, allocations: 98.73 kB / 0.9536 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.6551, allocations: 26.11 kB / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.6552, allocations: 24.86 kB / 0.9536 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.791e-05/0.6552, allocations: 316 kB / 0.9539 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.6554, allocations: 48.3 kB / 0.954 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.6556, allocations: 48.11 kB / 0.954 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.6559, allocations: 95.53 kB / 0.9541 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6559, allocations: 3.938 kB / 0.9541 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003956/0.6563, allocations: 136 kB / 0.9542 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.6564, allocations: 8.719 kB / 0.9542 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.6564, allocations: 0.5469 kB / 0.9542 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.6564, allocations: 1.062 kB / 0.9542 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.6566, allocations: 24.25 kB / 0.9543 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.6566, allocations: 0 / 0.9543 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.6567, allocations: 19.73 kB / 0.9543 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.6567, allocations: 6.516 kB / 0.9543 GB, free: 5.309 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 5.939e-05/0.6568, allocations: 121.8 kB / 0.9544 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.6568, allocations: 6.625 kB / 0.9544 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004453/0.6573, allocations: 151.7 kB / 0.9546 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6573, allocations: 0 / 0.9546 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6573, allocations: 1.094 kB / 0.9546 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6573, allocations: 7.922 kB / 0.9546 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.6575, allocations: 200.4 kB / 0.9548 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6575, allocations: 0 / 0.9548 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.6576, allocations: 23.91 kB / 0.9548 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6576, allocations: 5.188 kB / 0.9548 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.6577, allocations: 13.41 kB / 0.9548 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6577, allocations: 0 / 0.9548 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6577, allocations: 0 / 0.9548 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.6581, allocations: 243.8 kB / 0.955 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.6581, allocations: 83.73 kB / 0.9551 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.6582, allocations: 0 / 0.9551 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.6583, allocations: 14.98 kB / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.6584, allocations: 27.12 kB / 0.9552 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.6584, allocations: 2.188 kB / 0.9552 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.648e-05/0.6584, allocations: 97.05 kB / 0.9552 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6584, allocations: 0 / 0.9552 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002377/0.6587, allocations: 16.62 kB / 0.9553 GB, free: 4.414 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.0005941/0.6593, allocations: 0.7705 MB / 0.956 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.6597, allocations: 109.3 kB / 0.9561 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6597, allocations: 5.281 kB / 0.9561 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.6599, allocations: 61.97 kB / 0.9562 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.6602, allocations: 18.84 kB / 0.9562 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.662, allocations: 1.522 MB / 0.9577 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.6621, allocations: 0.698 MB / 0.9584 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.042e-05/0.6622, allocations: 10.34 kB / 0.9584 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.6623, allocations: 33.97 kB / 0.9584 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6623, allocations: 2.5 kB / 0.9584 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04106/0.7033, allocations: 2.646 MB / 0.961 GB, free: 96 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.521, allocations: 5.672 kB / 0.961 GB, free: 92 kB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/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