Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.00165/0.00165, allocations: 112.8 kB / 16.46 MB, free: 6.453 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.001468/0.001468, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.47/1.47, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.187/3.187, allocations: 0.49 GB / 0.7916 GB, free: 33.54 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.GreaterThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.001979/0.001979, allocations: 64.91 kB / 1.149 GB, free: 26.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4176, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002126/0.4197, allocations: 0.7152 MB / 1.322 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.4209, allocations: 0.8631 MB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.4209, allocations: 4 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.421, allocations: 3.938 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.841e-05/0.421, allocations: 7.938 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.4212, allocations: 23.95 kB / 1.322 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.4213, allocations: 47.84 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.4214, allocations: 8 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.405e-05/0.4215, allocations: 23.92 kB / 1.322 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.884e-05/0.4215, allocations: 27.89 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.4216, allocations: 4 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.4216, allocations: 4 kB / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.4216, allocations: 12 kB / 1.323 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.4216, allocations: 23.8 kB / 1.323 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.4218, allocations: 52.06 kB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.4218, allocations: 0 / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4218, allocations: 0 / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4218, 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.0005759/0.4223, allocations: 357 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4224, allocations: 15.98 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.4224, allocations: 38.69 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.4225, allocations: 8.938 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.4226, allocations: 172.3 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.4226, allocations: 4.375 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.4227, allocations: 4.125 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.4229, allocations: 77.58 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4229, allocations: 0 / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.4229, allocations: 0 / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4229, allocations: 0 / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.4231, allocations: 51.95 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.4236, allocations: 292.8 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.4238, allocations: 70.41 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.4239, allocations: 28.91 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.4239, allocations: 4 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.424, allocations: 34.56 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.424, allocations: 0 / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004434/0.4244, allocations: 105.6 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.4244, allocations: 55.41 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.4246, allocations: 109.8 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4246, allocations: 29.7 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.4247, allocations: 84.14 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.4247, allocations: 19.89 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.4247, allocations: 13.72 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4249, allocations: 318.8 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.425, allocations: 23.97 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.978e-05/0.4251, allocations: 27.97 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.4253, allocations: 52.81 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4253, allocations: 0 / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002503/0.4255, allocations: 81.66 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4256, allocations: 4 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.4256, allocations: 3.938 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4256, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4257, allocations: 15.98 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4257, allocations: 3.938 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.314e-05/0.4258, allocations: 23.88 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.4258, allocations: 3.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,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 0.0001067/0.4259, allocations: 119.6 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.4259, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.426, allocations: 7.906 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.426, allocations: 4 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.426, allocations: 4 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.426, allocations: 0 / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.4262, allocations: 173.6 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4262, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.752e-05/0.4263, allocations: 11.98 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4263, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.4263, allocations: 4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4263, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4263, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.4266, allocations: 191.7 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.4266, allocations: 81.14 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.4266, allocations: 4 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4267, allocations: 7.984 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.4268, allocations: 15.92 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.4268, allocations: 0 / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.702e-05/0.4269, allocations: 95.2 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4269, allocations: 4 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000214/0.4271, allocations: 4 kB / 1.325 GB, free: 14.37 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 (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.000632/0.4277, allocations: 0.7202 MB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.428, allocations: 55.94 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.428, allocations: 0 / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.4281, allocations: 31.98 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.0002659/0.4284, allocations: 3.984 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.001683/0.4301, allocations: 1.331 MB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.4304, allocations: 0.6808 MB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.925e-05/0.4304, allocations: 4 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.4305, allocations: 27.36 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4305, allocations: 0 / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.4558, allocations: 1.84 MB / 1.33 GB, free: 9.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.627, allocations: 18.16 kB / 1.33 GB, free: 9.648 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_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_GreaterThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intGreThr.t in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.t from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.u in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.u from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.476484470069408]