Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 225.6 MB / 249.3 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.51/2.51, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 67.89 kB / 1.107 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/0.7522, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.00157/0.7538, allocations: 0.7121 MB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006635/0.7544, allocations: 0.8403 MB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.7545, allocations: 1.031 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.7545, allocations: 4.547 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.7546, allocations: 9.469 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.7547, allocations: 24.8 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.331e-05/0.7547, allocations: 48.69 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.388e-05/0.7548, allocations: 11.05 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.612e-05/0.7549, allocations: 22.19 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.7549, allocations: 25.12 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.755, allocations: 8.594 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.755, allocations: 3.875 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.755, allocations: 7.547 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.755, allocations: 22.53 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.026e-05/0.7551, allocations: 48.89 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.7551, allocations: 0.7812 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7551, allocations: 4 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.7551, allocations: 0 / 1.273 GB, free: 6.52 MB / 0.9981 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.0003723/0.7555, allocations: 358.1 kB / 1.273 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.7555, allocations: 9.688 kB / 1.273 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.427e-05/0.7556, allocations: 32.59 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.7556, allocations: 11.02 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.394e-05/0.7556, allocations: 165.2 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.7557, allocations: 10.44 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.7557, allocations: 6.375 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.7558, allocations: 67.91 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.7559, allocations: 5.359 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.7559, allocations: 0 / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.7559, allocations: 1.688 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.7561, allocations: 55.56 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.7564, allocations: 292.6 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.7566, allocations: 64.36 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.567e-05/0.7567, allocations: 32.52 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.7567, allocations: 0.9062 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.7567, allocations: 31.56 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.7567, allocations: 7.938 kB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003658/0.7571, allocations: 104 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.7571, allocations: 52.22 kB / 1.274 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.248e-05/0.7571, allocations: 109.3 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.7571, allocations: 25.7 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.7572, allocations: 94.16 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.7572, allocations: 8.984 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.7572, allocations: 23.39 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.414e-05/0.7572, allocations: 316.5 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.639e-05/0.7573, allocations: 24 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.7574, allocations: 26.11 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.7576, allocations: 53.73 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.7576, allocations: 4 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002088/0.7578, allocations: 85.72 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.7578, allocations: 5.125 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.7578, allocations: 1.094 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.7578, allocations: 0 / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.7579, allocations: 15.62 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.7579, allocations: 0 / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.758, allocations: 7.844 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.758, allocations: 13.28 kB / 1.275 GB, free: 4.668 MB / 0.9981 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 4.314e-05/0.7581, allocations: 109.8 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.7581, allocations: 1.625 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.7581, allocations: 11.55 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.7581, allocations: 0 / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.7581, allocations: 1.094 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.7581, allocations: 0 / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.7582, allocations: 178 kB / 1.275 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.7582, allocations: 0 / 1.275 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.272e-05/0.7583, allocations: 16.33 kB / 1.275 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.7583, allocations: 3.938 kB / 1.275 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.7583, allocations: 1.531 kB / 1.275 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7583, allocations: 2.156 kB / 1.275 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7583, allocations: 9.125 kB / 1.275 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.7586, allocations: 187.7 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.7586, allocations: 86.12 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.7586, allocations: 5.156 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/0.7587, allocations: 7.812 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.7587, allocations: 11.14 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.7587, allocations: 1.938 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.677e-05/0.7587, allocations: 99.23 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7587, allocations: 0 / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002038/0.759, allocations: 6.781 kB / 1.276 GB, free: 3.969 MB / 0.9981 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.0003843/0.7593, allocations: 0.7156 MB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.7596, allocations: 60.33 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7596, allocations: 0 / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.7597, allocations: 32.77 kB / 1.277 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.7599, allocations: 4.406 kB / 1.277 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.7611, allocations: 1.328 MB / 1.278 GB, free: 18.06 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.7613, allocations: 0.6799 MB / 1.279 GB, free: 17.36 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.7614, allocations: 8.969 kB / 1.279 GB, free: 17.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.7614, allocations: 20.73 kB / 1.279 GB, free: 17.34 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.7614, allocations: 0 / 1.279 GB, free: 17.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.7829, allocations: 1.841 MB / 1.28 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/7.68, allocations: 0.8438 kB / 1.28 GB, free: 16.95 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,intGreEquThr.t,intGreEquThr.u,intGreEquThr.y Variables in the result:intGreEquThr.t,intGreEquThr.u,intGreEquThr.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time [Calling sys.exit(0), Time elapsed: 12.975896007000301]