Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.00075/0.00075, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.005933/0.005933, allocations: 171.5 kB / 16.27 MB, free: 6.652 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.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.28/2.28, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003111, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6791/0.6795, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.0009019/0.6804, allocations: 437.2 kB / 0.9556 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008806/0.6813, allocations: 0.8293 MB / 0.9564 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.898e-05/0.6814, allocations: 1.062 kB / 0.9564 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.6814, allocations: 3.938 kB / 0.9564 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.926e-05/0.6815, allocations: 4.891 kB / 0.9564 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.6816, allocations: 25.28 kB / 0.9564 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.473e-05/0.6817, allocations: 36.89 kB / 0.9565 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.6818, allocations: 18.55 kB / 0.9565 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.109e-05/0.6819, allocations: 9.594 kB / 0.9565 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/0.682, allocations: 26.52 kB / 0.9565 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.682, allocations: 2.25 kB / 0.9565 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.682, allocations: 6.344 kB / 0.9565 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.682, allocations: 9 kB / 0.9565 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.6821, allocations: 45.09 kB / 0.9566 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.014e-05/0.6822, allocations: 43.81 kB / 0.9566 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6822, allocations: 4 kB / 0.9566 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/0.6822, allocations: 0 / 0.9566 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.6822, allocations: 1.125 kB / 0.9566 GB, free: 6.535 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.0004462/0.6826, allocations: 355.5 kB / 0.957 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.6827, allocations: 8.594 kB / 0.957 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.6827, allocations: 35.88 kB / 0.957 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.6828, allocations: 8.156 kB / 0.957 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.746e-05/0.6829, allocations: 170.5 kB / 0.9572 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.6829, allocations: 2.688 kB / 0.9572 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.6829, allocations: 2.406 kB / 0.9572 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.6831, allocations: 72.47 kB / 0.9573 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.6831, allocations: 3.938 kB / 0.9573 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.6831, allocations: 5.062 kB / 0.9573 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.6832, allocations: 1.031 kB / 0.9573 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.6834, allocations: 60.17 kB / 0.9573 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.6838, allocations: 296.3 kB / 0.9576 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.684, allocations: 72.55 kB / 0.9577 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.6841, allocations: 35.5 kB / 0.9577 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.6841, allocations: 1.562 kB / 0.9577 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.6841, allocations: 34.56 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.6841, allocations: 1.406 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004081/0.6845, allocations: 119 kB / 0.9579 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.6846, allocations: 56.38 kB / 0.9579 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.615e-05/0.6846, allocations: 110.5 kB / 0.958 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.6847, allocations: 29.7 kB / 0.958 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.6847, allocations: 90.78 kB / 0.9581 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.6847, allocations: 13.62 kB / 0.9581 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.6848, allocations: 11.28 kB / 0.9582 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.6848, allocations: 320.2 kB / 0.9585 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.6849, allocations: 33.88 kB / 0.9585 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.475e-05/0.685, allocations: 36.53 kB / 0.9585 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.6852, allocations: 60.61 kB / 0.9586 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6852, allocations: 0 / 0.9586 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002452/0.6855, allocations: 98.55 kB / 0.9587 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.6855, allocations: 4.438 kB / 0.9587 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.6855, allocations: 1.375 kB / 0.9587 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.6855, allocations: 4 kB / 0.9587 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.6857, allocations: 19.02 kB / 0.9587 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6857, allocations: 4 kB / 0.9587 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.6857, allocations: 11.05 kB / 0.9587 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.6858, allocations: 5.25 kB / 0.9587 GB, free: 4.535 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,intGreThr.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 6.226e-05/0.6858, allocations: 121.3 kB / 0.9588 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.6859, allocations: 5.562 kB / 0.9589 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.6859, allocations: 5.531 kB / 0.9589 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6859, allocations: 0 / 0.9589 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6859, allocations: 0 / 0.9589 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6859, allocations: 1.531 kB / 0.9589 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.686, allocations: 178.9 kB / 0.959 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6861, allocations: 0 / 0.959 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.379e-05/0.6861, allocations: 14.3 kB / 0.959 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.6862, allocations: 1.312 kB / 0.959 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.6862, allocations: 0 / 0.959 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6862, allocations: 5 kB / 0.959 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6862, allocations: 0 / 0.959 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.6864, allocations: 198.2 kB / 0.9592 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.6865, allocations: 82.92 kB / 0.9593 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.6865, allocations: 0 / 0.9593 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.6866, allocations: 11.14 kB / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.6867, allocations: 11.61 kB / 0.9593 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.6867, allocations: 1.781 kB / 0.9593 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.175e-05/0.6867, allocations: 88.64 kB / 0.9594 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6867, allocations: 1.781 kB / 0.9594 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002091/0.6869, allocations: 9.344 kB / 0.9594 GB, free: 3.812 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 (intGreThr.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.0004512/0.6874, allocations: 0.7265 MB / 0.9601 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.6876, allocations: 76.03 kB / 0.9602 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6876, allocations: 0 / 0.9602 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.6878, allocations: 43.28 kB / 0.9603 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.6881, allocations: 10.48 kB / 0.9603 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.6893, allocations: 1.351 MB / 0.9616 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.6895, allocations: 0.6849 MB / 0.9623 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.348e-05/0.6895, allocations: 11.42 kB / 0.9623 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.6896, allocations: 14.97 kB / 0.9623 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.6896, allocations: 0 / 0.9623 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.7005, allocations: 1.523 MB / 0.9638 GB, free: 364 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.7007, allocations: 215.2 kB / 0.964 GB, free: 104 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.458, allocations: 0 / 0.964 GB, free: 104 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches