Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 108.7 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002162/0.002162, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.301/3.301, allocations: 0.49 GB / 0.7916 GB, free: 33.22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 72.48 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4162, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002254/0.4185, allocations: 0.7121 MB / 1.322 GB, free: 2.621 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.4196, allocations: 0.8592 MB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.4197, allocations: 8 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.4197, allocations: 3.938 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.489e-05/0.4198, allocations: 3.938 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.42, allocations: 23.91 kB / 1.322 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.4201, allocations: 51.89 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.4202, allocations: 8 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.4203, allocations: 23.86 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/0.4204, allocations: 23.91 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.4204, allocations: 4 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.4204, allocations: 4 kB / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.4204, allocations: 15.98 kB / 1.323 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.4205, allocations: 23.86 kB / 1.323 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.4206, allocations: 48.06 kB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4206, allocations: 0 / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4206, allocations: 0 / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.4206, allocations: 0 / 1.323 GB, free: 1.512 MB / 1.014 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.0007285/0.4213, allocations: 355.3 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.4214, allocations: 19.91 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.748e-05/0.4214, allocations: 38.73 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.4215, allocations: 4.938 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.4217, allocations: 180.2 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.4217, allocations: 4.375 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.4217, allocations: 8.125 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.4219, allocations: 61.66 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.4219, allocations: 0 / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.422, allocations: 4 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.422, allocations: 3.984 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.4222, allocations: 55.95 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.4227, allocations: 280.8 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.423, allocations: 62.53 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.4231, allocations: 28.92 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.4231, allocations: 8.062 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.4232, allocations: 34.56 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.4232, allocations: 0 / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004921/0.4237, allocations: 121.4 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.4237, allocations: 51.41 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.4239, allocations: 105.8 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.4239, allocations: 29.7 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.424, allocations: 88.14 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.424, allocations: 7.906 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.4241, allocations: 21.7 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.4242, allocations: 314.8 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.4244, allocations: 27.97 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.595e-05/0.4245, allocations: 23.98 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.4247, allocations: 52.81 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4247, allocations: 0 / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002571/0.4249, allocations: 85.58 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.425, allocations: 4 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.425, allocations: 0 / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.425, allocations: 4 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.4251, allocations: 15.92 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.4251, allocations: 4 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.03e-05/0.4252, allocations: 19.88 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.4252, allocations: 7.938 kB / 1.325 GB, free: 15.19 MB / 1.029 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 0.0001141/0.4253, allocations: 110.2 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.4254, allocations: 0 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.4254, allocations: 11.89 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4254, allocations: 4 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4254, allocations: 3.984 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4254, allocations: 4 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.4256, allocations: 169.6 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4256, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.743e-05/0.4257, allocations: 15.92 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.4257, allocations: 4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4258, allocations: 7.984 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4258, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4258, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.4261, allocations: 187.4 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.4261, allocations: 77.11 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.4261, allocations: 4 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4262, allocations: 7.984 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.4263, allocations: 11.98 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.4263, allocations: 0 / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.209e-05/0.4264, allocations: 87.22 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4264, allocations: 8 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002182/0.4266, allocations: 4 kB / 1.325 GB, free: 14.38 MB / 1.029 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.0006762/0.4273, allocations: 0.724 MB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002616/0.4275, allocations: 55.95 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4275, allocations: 0 / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.4276, allocations: 35.91 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.428, allocations: 6.188 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.4297, allocations: 1.323 MB / 1.327 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.4301, allocations: 0.6807 MB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.605e-05/0.4301, allocations: 7.984 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.4302, allocations: 17.06 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4302, allocations: 0 / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.4575, allocations: 1.861 MB / 1.33 GB, free: 9.684 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.63, allocations: 8.594 kB / 1.33 GB, free: 9.676 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intGreEquThr.t in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.t from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! Error: Could not read variable intGreEquThr.u in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.u from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! Error: Could not read variable intGreEquThr.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.65852245897986]