Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.GreaterEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.001103/0.001103, 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.001232/0.001232, 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.376/1.376, 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.2-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7439/0.7453, allocations: 140.4 MB / 0.9491 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001859/0.7472, allocations: 0.7622 MB / 0.9498 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007915/0.748, allocations: 0.8265 MB / 0.9506 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.748, allocations: 1.375 kB / 0.9506 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.7481, allocations: 3.984 kB / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.567e-05/0.7482, allocations: 3.938 kB / 0.9506 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.7483, allocations: 25.47 kB / 0.9507 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.006e-05/0.7484, allocations: 41.73 kB / 0.9507 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.7485, allocations: 17.48 kB / 0.9507 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.7486, allocations: 14.86 kB / 0.9507 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.7486, allocations: 30.72 kB / 0.9508 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.7487, allocations: 6.688 kB / 0.9508 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.7487, allocations: 2.75 kB / 0.9508 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.7487, allocations: 9.359 kB / 0.9508 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.7487, allocations: 16 kB / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.193e-05/0.7488, allocations: 44.09 kB / 0.9508 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.7488, allocations: 0 / 0.9508 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7488, allocations: 4 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.7489, allocations: 3.938 kB / 0.9508 GB, free: 7.773 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004457/0.7493, allocations: 360.8 kB / 0.9512 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.7493, allocations: 9.625 kB / 0.9512 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.871e-05/0.7494, allocations: 32.12 kB / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.7494, allocations: 2.312 kB / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.962e-05/0.7495, allocations: 172.4 kB / 0.9514 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.7495, allocations: 1.75 kB / 0.9514 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.7495, allocations: 9.75 kB / 0.9514 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.7497, allocations: 68.84 kB / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.7498, allocations: 0 / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.7498, allocations: 0 / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.7498, allocations: 1.375 kB / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.75, allocations: 50.92 kB / 0.9515 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.7504, allocations: 294.8 kB / 0.9518 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.7506, allocations: 60.17 kB / 0.9519 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.7507, allocations: 30.62 kB / 0.9519 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.7507, allocations: 4 kB / 0.9519 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.7507, allocations: 43.72 kB / 0.9519 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7507, allocations: 0 / 0.9519 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003884/0.7511, allocations: 105.6 kB / 0.952 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.7512, allocations: 51.41 kB / 0.9521 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.015e-05/0.7512, allocations: 114.8 kB / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.7512, allocations: 26.89 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.7513, allocations: 93.19 kB / 0.9523 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.7513, allocations: 13.78 kB / 0.9523 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.7513, allocations: 17.34 kB / 0.9523 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.7514, allocations: 321.7 kB / 0.9526 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.7515, allocations: 20.08 kB / 0.9527 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.7516, allocations: 27.81 kB / 0.9527 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.7518, allocations: 57.69 kB / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7518, allocations: 1.344 kB / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000217/0.752, allocations: 76.97 kB / 0.9528 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.752, allocations: 4.094 kB / 0.9528 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.752, allocations: 1.156 kB / 0.9528 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.752, allocations: 4.312 kB / 0.9528 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.7522, allocations: 16.64 kB / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.7522, allocations: 0 / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.244e-05/0.7523, allocations: 9.406 kB / 0.9528 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.7523, allocations: 7.984 kB / 0.9529 GB, free: 5.781 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: 2 (reaToInt.y,intGreEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.36e-05/0.7523, allocations: 120.5 kB / 0.953 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.7524, allocations: 5.375 kB / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.7524, allocations: 9.062 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.7524, allocations: 1.406 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.7524, allocations: 0 / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.7524, allocations: 1.188 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.7525, allocations: 175.5 kB / 0.9532 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7525, allocations: 4 kB / 0.9532 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.678e-05/0.7526, allocations: 12.23 kB / 0.9532 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7526, allocations: 0 / 0.9532 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.7527, allocations: 1.219 kB / 0.9532 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7527, allocations: 0 / 0.9532 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7527, allocations: 0 / 0.9532 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.7529, allocations: 188.7 kB / 0.9533 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.7529, allocations: 86.3 kB / 0.9534 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.7529, allocations: 5.188 kB / 0.9534 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.7531, allocations: 7.578 kB / 0.9534 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.7531, allocations: 12.11 kB / 0.9535 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.7531, allocations: 1.188 kB / 0.9535 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.649e-05/0.7532, allocations: 84.77 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7532, allocations: 1.25 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002189/0.7534, allocations: 14.09 kB / 0.9535 GB, free: 5.051 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: 2 (intGreEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004227/0.7538, allocations: 0.7134 MB / 0.9542 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.7541, allocations: 58.91 kB / 0.9543 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7541, allocations: 4 kB / 0.9543 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.7542, allocations: 35.22 kB / 0.9543 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.7545, allocations: 3.594 kB / 0.9543 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.7557, allocations: 1.328 MB / 0.9556 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.517e-05/0.7558, allocations: 0.6809 MB / 0.9563 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.405e-05/0.7558, allocations: 3.531 kB / 0.9563 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.7559, allocations: 18.23 kB / 0.9563 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.7559, allocations: 0 / 0.9563 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01049/0.7664, allocations: 1.602 MB / 0.9579 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001253/0.7665, allocations: 225.5 kB / 0.9581 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.62, allocations: 0 / 0.9581 GB, free: 1.285 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches