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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.008358/0.008358, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001995/0.001995, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.625/2.625, allocations: 469.4 MB / 0.7421 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 64.09 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7189, allocations: 159.1 MB / 1.22 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001951/0.7209, allocations: 0.7055 MB / 1.22 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.722, allocations: 0.8351 MB / 1.221 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.7221, allocations: 0 / 1.221 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.7221, allocations: 3.938 kB / 1.221 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.437e-05/0.7222, allocations: 11.94 kB / 1.221 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.7224, allocations: 27.89 kB / 1.221 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.359e-05/0.7225, allocations: 35.97 kB / 1.221 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.7226, allocations: 19.88 kB / 1.221 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/0.7227, allocations: 19.98 kB / 1.221 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.468e-05/0.7227, allocations: 31.77 kB / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.7228, allocations: 4 kB / 1.221 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.7228, allocations: 12 kB / 1.221 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.7228, allocations: 8 kB / 1.221 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.7229, allocations: 23.86 kB / 1.221 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.723, allocations: 47.84 kB / 1.221 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.723, allocations: 0 / 1.221 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.492e-06/0.723, allocations: 0 / 1.221 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.723, allocations: 0 / 1.221 GB, free: 0.5352 MB / 0.9356 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.000493/0.7235, allocations: 355 kB / 1.222 GB, free: 148 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.7235, allocations: 12.61 kB / 1.222 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.7236, allocations: 42.75 kB / 1.222 GB, free: 84 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.7236, allocations: 4.891 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.7238, allocations: 168.3 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.7238, allocations: 384 / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.7238, allocations: 8.125 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.724, allocations: 65.66 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.724, allocations: 4 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.7241, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.7241, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.7243, allocations: 55.94 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.7247, allocations: 296.6 kB / 1.222 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.7249, allocations: 66.52 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.725, allocations: 32.92 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.7251, allocations: 3.938 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.7251, allocations: 34.56 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.7251, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004202/0.7255, allocations: 109.5 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.7256, allocations: 51.41 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.7256, allocations: 117.8 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.7257, allocations: 25.7 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.7257, allocations: 84.09 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.7257, allocations: 11.95 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.7258, allocations: 17.7 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.7259, allocations: 318.8 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.726, allocations: 23.97 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.717e-05/0.7261, allocations: 23.98 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.7263, allocations: 60.81 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.7263, allocations: 0 / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002516/0.7266, allocations: 89.53 kB / 1.223 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.7266, allocations: 4 kB / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7266, allocations: 3.938 kB / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.7266, allocations: 0 / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.7268, allocations: 15.98 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.7268, allocations: 320 / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-05/0.7269, allocations: 7.984 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.7269, allocations: 7.938 kB / 1.224 GB, free: 14.23 MB / 0.9512 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 7.189e-05/0.727, allocations: 109.8 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.727, allocations: 4 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.727, allocations: 7.906 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.727, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.727, allocations: 7.984 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.727, allocations: 0 / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.7272, allocations: 177.5 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7272, allocations: 0 / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.199e-05/0.7273, allocations: 15.92 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.7273, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.7274, allocations: 7.922 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7274, allocations: 0 / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7274, allocations: 0 / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.7276, allocations: 187.8 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.7277, allocations: 89.03 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.7277, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.7278, allocations: 11.98 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.7279, allocations: 11.98 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.7279, allocations: 4 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.7279, allocations: 87.2 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.728, allocations: 4 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002445/0.7282, allocations: 12 kB / 1.224 GB, free: 13.4 MB / 0.9512 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.000562/0.7288, allocations: 0.7163 MB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.729, allocations: 59.95 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7291, allocations: 0 / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.7292, allocations: 31.91 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.7295, allocations: 4 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.7309, allocations: 1.319 MB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.7311, allocations: 0.6807 MB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.7312, allocations: 4 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.7312, allocations: 27.36 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.7312, allocations: 0 / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.7486, allocations: 1.863 MB / 1.229 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.404/8.152, allocations: 6.484 kB / 1.229 GB, free: 8.703 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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