Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_9_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.001537/0.001537, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001815/0.001815, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.581/2.581, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 67.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6988/0.7003, allocations: 140.4 MB / 0.9493 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002033/0.7024, allocations: 0.7546 MB / 0.95 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.7035, allocations: 0.8418 MB / 0.9508 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.251e-05/0.7036, allocations: 0 / 0.9508 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.577e-05/0.7036, allocations: 5.312 kB / 0.9508 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.353e-05/0.7037, allocations: 3.984 kB / 0.9508 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.7039, allocations: 21.48 kB / 0.9508 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.698e-05/0.704, allocations: 41.78 kB / 0.9509 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.7041, allocations: 14.86 kB / 0.9509 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.025e-05/0.7042, allocations: 22.81 kB / 0.9509 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.7043, allocations: 26.78 kB / 0.9509 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.7043, allocations: 4.125 kB / 0.9509 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.7043, allocations: 4.125 kB / 0.951 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.7043, allocations: 21.22 kB / 0.951 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.7044, allocations: 12.06 kB / 0.951 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.65e-05/0.7044, allocations: 48.05 kB / 0.951 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7045, allocations: 0 / 0.951 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7045, allocations: 0 / 0.951 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7045, allocations: 0 / 0.951 GB, free: 7.738 MB / 0.7169 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.0004361/0.7049, allocations: 360.8 kB / 0.9514 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.705, allocations: 9.625 kB / 0.9514 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.705, allocations: 36.12 kB / 0.9514 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.705, allocations: 3.688 kB / 0.9514 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.508e-05/0.7051, allocations: 175 kB / 0.9516 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.7052, allocations: 1.75 kB / 0.9516 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.7052, allocations: 7.125 kB / 0.9516 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.7054, allocations: 74.67 kB / 0.9517 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.7054, allocations: 5.625 kB / 0.9517 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.7054, allocations: 3.938 kB / 0.9517 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.7054, allocations: 0 / 0.9517 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.7056, allocations: 47.73 kB / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.706, allocations: 286.1 kB / 0.952 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.7062, allocations: 69.14 kB / 0.9521 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.7063, allocations: 30.47 kB / 0.9521 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.7064, allocations: 0 / 0.9521 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.7064, allocations: 35.91 kB / 0.9521 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.7064, allocations: 0 / 0.9521 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003948/0.7068, allocations: 108 kB / 0.9522 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.7068, allocations: 52.78 kB / 0.9523 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.138e-05/0.7069, allocations: 110.6 kB / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.7069, allocations: 26.8 kB / 0.9524 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.707, allocations: 86.52 kB / 0.9525 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.707, allocations: 20.89 kB / 0.9525 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.707, allocations: 25.66 kB / 0.9525 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.7071, allocations: 324.2 kB / 0.9528 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.7072, allocations: 20.42 kB / 0.9529 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.75e-05/0.7073, allocations: 28.22 kB / 0.9529 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.7075, allocations: 55.09 kB / 0.9529 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7075, allocations: 0 / 0.9529 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002206/0.7077, allocations: 80.62 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.7077, allocations: 5.188 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7077, allocations: 1.156 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.7077, allocations: 0 / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.7079, allocations: 15.75 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.7079, allocations: 1.312 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.708, allocations: 11.97 kB / 0.9531 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.708, allocations: 1.281 kB / 0.9531 GB, free: 5.738 MB / 0.7169 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.299e-05/0.7081, allocations: 124.3 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.7081, allocations: 6.312 kB / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.7081, allocations: 7.906 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7081, allocations: 1.375 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7081, allocations: 0 / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7081, allocations: 1.062 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.7083, allocations: 175.8 kB / 0.9534 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7083, allocations: 0 / 0.9534 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-05/0.7084, allocations: 12.02 kB / 0.9534 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.7084, allocations: 4 kB / 0.9534 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.7084, allocations: 1.25 kB / 0.9534 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.7084, allocations: 3.938 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7084, allocations: 1.719 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.7087, allocations: 182.8 kB / 0.9536 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.7087, allocations: 82.86 kB / 0.9536 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.7087, allocations: 4 kB / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.7089, allocations: 13.11 kB / 0.9536 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.7089, allocations: 12.02 kB / 0.9537 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.7089, allocations: 1.594 kB / 0.9537 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.974e-05/0.709, allocations: 83.92 kB / 0.9537 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.709, allocations: 1.812 kB / 0.9537 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002276/0.7092, allocations: 13.09 kB / 0.9538 GB, free: 5.004 MB / 0.7169 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.0004849/0.7097, allocations: 0.7183 MB / 0.9545 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.71, allocations: 65.88 kB / 0.9545 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.71, allocations: 0 / 0.9545 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.7101, allocations: 26.73 kB / 0.9545 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.7105, allocations: 15.2 kB / 0.9546 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.7118, allocations: 1.323 MB / 0.9559 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.712, allocations: 0.6835 MB / 0.9565 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.889e-05/0.712, allocations: 11.77 kB / 0.9565 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.7121, allocations: 18.81 kB / 0.9565 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7121, allocations: 0 / 0.9565 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.7234, allocations: 1.669 MB / 0.9582 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/0.7236, allocations: 220 kB / 0.9584 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.526, allocations: 3.938 kB / 0.9584 GB, free: 1.203 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches