Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_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.001303/0.001303, 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.001893/0.001893, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.784/2.784, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 62.44 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3526, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002476/0.3551, allocations: 0.7128 MB / 1.054 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3564, allocations: 0.839 MB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.3564, allocations: 4 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.3565, allocations: 0 / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.726e-05/0.3566, allocations: 7.922 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.3568, allocations: 19.92 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.3569, allocations: 51.84 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.357, allocations: 12 kB / 1.055 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.3571, allocations: 23.91 kB / 1.055 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.173e-05/0.3572, allocations: 27.91 kB / 1.055 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.3572, allocations: 4 kB / 1.055 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.3573, allocations: 4 kB / 1.055 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.3573, allocations: 4 kB / 1.055 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.3573, allocations: 31.84 kB / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.3575, allocations: 35.88 kB / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3575, allocations: 3.984 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3575, allocations: 4 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.3575, allocations: 0 / 1.055 GB, free: 6.457 MB / 0.8106 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.0006206/0.3581, allocations: 351.7 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.3582, allocations: 12.62 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.906e-05/0.3582, allocations: 34.73 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.3583, allocations: 4.844 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.3585, allocations: 172.3 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.3585, allocations: 8.375 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.3585, allocations: 4.375 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.3588, allocations: 73.58 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3588, allocations: 0 / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3588, allocations: 0 / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.3588, allocations: 0 / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.3591, allocations: 55.88 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.3596, allocations: 296.7 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.3598, allocations: 70.52 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3599, allocations: 28.92 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.36, allocations: 0 / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.36, allocations: 38.56 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.36, allocations: 0 / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004286/0.3604, allocations: 105.5 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.3605, allocations: 59.41 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.3606, allocations: 109.8 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3606, allocations: 25.7 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.3607, allocations: 92.05 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.3607, allocations: 7.906 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.3607, allocations: 21.7 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3609, allocations: 314.8 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.361, allocations: 23.97 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.148e-05/0.3611, allocations: 23.98 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.3613, allocations: 60.75 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3613, allocations: 0 / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003072/0.3616, allocations: 81.64 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3617, allocations: 4 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3617, allocations: 0 / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3617, allocations: 0 / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3618, allocations: 11.98 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3618, allocations: 0 / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.3619, allocations: 19.98 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3619, allocations: 0 / 1.057 GB, free: 4.156 MB / 0.8106 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 8.746e-05/0.362, allocations: 115.3 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.362, allocations: 3.906 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.3621, allocations: 7.906 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3621, allocations: 0 / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3621, allocations: 4 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3621, allocations: 3.984 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.3623, allocations: 185.5 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3623, allocations: 4 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.946e-05/0.3624, allocations: 11.98 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3624, allocations: 0 / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3624, allocations: 11.98 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3624, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3624, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.3627, allocations: 183.7 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.3628, allocations: 81.11 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.3628, allocations: 0 / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3629, allocations: 12.03 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.363, allocations: 11.97 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.363, allocations: 8 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.015e-05/0.3631, allocations: 87.58 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.824e-06/0.3631, allocations: 0 / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002233/0.3633, allocations: 15.88 kB / 1.057 GB, free: 3.328 MB / 0.8106 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.0006749/0.364, allocations: 0.7201 MB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.3643, allocations: 59.89 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3643, allocations: 4 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.3644, allocations: 31.97 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.3647, allocations: 4 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.3664, allocations: 1.311 MB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.3667, allocations: 0.6846 MB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.657e-05/0.3668, allocations: 4 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.3668, allocations: 27.36 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3668, allocations: 0 / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.3868, allocations: 1.815 MB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.571, allocations: 10.8 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches