Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.LessEqual,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",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.001706/0.001706, allocations: 108 kB / 15.61 MB, free: 148 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.002183/0.002183, allocations: 195.2 kB / 16.53 MB, free: 6.691 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.446/2.446, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001466, allocations: 67.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6376/0.6391, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001909/0.641, allocations: 0.7721 MB / 0.9505 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007978/0.6418, allocations: 0.8631 MB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.6419, allocations: 1.25 kB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.6419, allocations: 9.031 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.283e-05/0.642, allocations: 12.98 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.6422, allocations: 33.81 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.686e-05/0.6423, allocations: 91.81 kB / 0.9515 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.6424, allocations: 21.89 kB / 0.9515 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.6425, allocations: 41.25 kB / 0.9515 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.475e-05/0.6426, allocations: 49.34 kB / 0.9516 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.6426, allocations: 7 kB / 0.9516 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.73e-05/0.6426, allocations: 8.406 kB / 0.9516 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.6427, allocations: 22.77 kB / 0.9516 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.6427, allocations: 37.69 kB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.475e-05/0.6428, allocations: 83.19 kB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.6428, allocations: 0 / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6428, allocations: 0.9688 kB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.6428, allocations: 0 / 0.9517 GB, free: 7.543 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.0005092/0.6433, allocations: 395.1 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.6434, allocations: 9.625 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.765e-05/0.6434, allocations: 40.25 kB / 0.9522 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.6435, allocations: 17.36 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.799e-05/0.6435, allocations: 176.7 kB / 0.9523 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.6436, allocations: 5.969 kB / 0.9523 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.6436, allocations: 8.25 kB / 0.9524 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.6439, allocations: 104.2 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.6439, allocations: 1.219 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.6439, allocations: 0 / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.6439, allocations: 2.375 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.6443, allocations: 106.5 kB / 0.9526 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.6447, allocations: 356.6 kB / 0.9529 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.6454, allocations: 114.7 kB / 0.953 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.6456, allocations: 58.95 kB / 0.9531 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.6456, allocations: 0 / 0.9531 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.6456, allocations: 35.84 kB / 0.9531 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.6456, allocations: 0 / 0.9531 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006658/0.6463, allocations: 171.4 kB / 0.9533 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.6463, allocations: 52.59 kB / 0.9533 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.6464, allocations: 133.7 kB / 0.9534 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.6464, allocations: 29.64 kB / 0.9535 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.6465, allocations: 96.16 kB / 0.9536 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.6465, allocations: 22.08 kB / 0.9536 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.6465, allocations: 23.33 kB / 0.9536 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.807e-05/0.6466, allocations: 316.6 kB / 0.9539 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.6468, allocations: 48.31 kB / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.6469, allocations: 48.7 kB / 0.954 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.6473, allocations: 100.1 kB / 0.9541 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.6473, allocations: 5.344 kB / 0.9541 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003967/0.6477, allocations: 131.3 kB / 0.9542 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.6477, allocations: 9.453 kB / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.6477, allocations: 1.281 kB / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.6478, allocations: 0 / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.6479, allocations: 30.69 kB / 0.9543 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.6479, allocations: 1.375 kB / 0.9543 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.6481, allocations: 15.86 kB / 0.9543 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.6481, allocations: 5.219 kB / 0.9543 GB, free: 5.254 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,intLesEqu.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.935e-05/0.6481, allocations: 114.5 kB / 0.9544 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.6482, allocations: 10.23 kB / 0.9544 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.6482, allocations: 9.594 kB / 0.9544 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6482, allocations: 1.156 kB / 0.9544 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6482, allocations: 1.25 kB / 0.9544 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6482, allocations: 3.938 kB / 0.9544 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.6484, allocations: 200.2 kB / 0.9546 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.6484, allocations: 0 / 0.9546 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.6486, allocations: 30.14 kB / 0.9546 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.6486, allocations: 1.219 kB / 0.9546 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.6486, allocations: 9.062 kB / 0.9546 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6486, allocations: 0 / 0.9546 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6486, allocations: 5.406 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.649, allocations: 235.1 kB / 0.9549 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.6491, allocations: 79.17 kB / 0.955 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.6491, allocations: 0 / 0.955 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.6492, allocations: 20.09 kB / 0.955 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.6493, allocations: 22.67 kB / 0.955 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.6493, allocations: 6.422 kB / 0.955 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.094e-05/0.6494, allocations: 93.92 kB / 0.9551 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6494, allocations: 0 / 0.9551 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002387/0.6496, allocations: 23.25 kB / 0.9551 GB, free: 4.457 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 (intLesEqu.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.0006003/0.6502, allocations: 0.7686 MB / 0.9559 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.6507, allocations: 105.7 kB / 0.956 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6507, allocations: 3.938 kB / 0.956 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.6509, allocations: 67.25 kB / 0.956 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.6512, allocations: 16.12 kB / 0.956 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.653, allocations: 1.524 MB / 0.9575 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.6531, allocations: 0.6941 MB / 0.9582 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.15e-05/0.6532, allocations: 14.64 kB / 0.9582 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.6533, allocations: 30.61 kB / 0.9583 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.6533, allocations: 0 / 0.9583 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.6718, allocations: 2.661 MB / 0.9609 GB, free: 136 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/8.2, allocations: 14.59 kB / 0.9609 GB, free: 128 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_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_LessEqual.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches