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.001966/0.001966, allocations: 106.9 kB / 16.45 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.002517/0.002517, allocations: 216.2 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.498/1.498, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.249/3.249, allocations: 0.49 GB / 0.7916 GB, free: 33.3 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.002052/0.002052, allocations: 69.28 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3871, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002413/0.3895, allocations: 0.7196 MB / 1.322 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3908, allocations: 0.8631 MB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.3909, allocations: 4 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.871e-05/0.3909, allocations: 3.938 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.456e-05/0.391, allocations: 11.91 kB / 1.322 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.3912, allocations: 15.98 kB / 1.322 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.3913, allocations: 51.84 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3914, allocations: 12 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.75e-05/0.3915, allocations: 27.84 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.722e-05/0.3916, allocations: 27.84 kB / 1.323 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.3916, allocations: 4 kB / 1.323 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.3916, allocations: 4 kB / 1.323 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.3917, allocations: 8 kB / 1.323 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.3917, allocations: 23.86 kB / 1.323 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.3918, allocations: 48.06 kB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3919, allocations: 0 / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3919, allocations: 0 / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.3919, 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.0006302/0.3925, allocations: 363.3 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3925, allocations: 11.98 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.3926, allocations: 34.69 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.3926, allocations: 4.938 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.3928, allocations: 172.3 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3928, allocations: 4.375 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.3928, allocations: 8.125 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.3931, allocations: 73.58 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3931, allocations: 0 / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3931, allocations: 4 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3931, allocations: 0 / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.3933, allocations: 43.95 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.3938, allocations: 288.8 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.394, allocations: 70.47 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.3941, allocations: 28.91 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3942, allocations: 7.984 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3942, allocations: 34.56 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3942, allocations: 0 / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004483/0.3946, allocations: 109.5 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3947, allocations: 55.41 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.3948, allocations: 109.8 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.3948, allocations: 25.7 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.3949, allocations: 88.14 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.3949, allocations: 7.906 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.395, allocations: 21.7 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3951, allocations: 318.8 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.3952, allocations: 23.97 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3953, allocations: 23.98 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.3955, allocations: 52.81 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3955, allocations: 0 / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002637/0.3958, allocations: 89.58 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3958, allocations: 7.938 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3958, allocations: 0 / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3958, allocations: 0 / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.3959, allocations: 11.98 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.396, allocations: 3.938 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.244e-05/0.396, allocations: 19.88 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.396, allocations: 7.938 kB / 1.325 GB, free: 15.2 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 9.246e-05/0.3961, allocations: 113.8 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.3962, allocations: 0 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.3962, allocations: 11.89 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3962, allocations: 4 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3962, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3962, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.3964, allocations: 169.6 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3964, allocations: 3.984 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.3965, allocations: 15.98 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3965, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3965, allocations: 8 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3965, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3965, allocations: 3.938 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.3969, allocations: 183.4 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.3969, allocations: 81.11 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.3969, allocations: 4.375 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.397, allocations: 11.98 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.3971, allocations: 11.98 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3971, allocations: 0 / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.415e-05/0.3972, allocations: 91.28 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3972, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002264/0.3974, allocations: 8 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.0007178/0.3981, allocations: 0.7241 MB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.3984, allocations: 55.95 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3984, allocations: 0 / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3985, allocations: 31.91 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.3989, allocations: 8 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.001818/0.4007, allocations: 1.323 MB / 1.327 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.401, allocations: 0.6807 MB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.885e-05/0.4011, allocations: 15.92 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.4011, allocations: 19.44 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4011, allocations: 0 / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.4287, allocations: 1.867 MB / 1.33 GB, free: 9.672 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.408, allocations: 4.531 kB / 1.33 GB, free: 9.668 MB / 1.029 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.16491239797324]