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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009069/0.0009068, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007454/0.007454, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.225/2.225, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003259, allocations: 15.98 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6413/0.6417, allocations: 142.4 MB / 0.9552 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.0007744/0.6425, allocations: 425.5 kB / 0.9556 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.6433, allocations: 0.8409 MB / 0.9564 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.6433, allocations: 1.344 kB / 0.9564 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.6433, allocations: 3.938 kB / 0.9564 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.906e-05/0.6434, allocations: 0 / 0.9564 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.6435, allocations: 20.61 kB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.78e-05/0.6436, allocations: 45.86 kB / 0.9565 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.6437, allocations: 13.91 kB / 0.9565 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.818e-05/0.6438, allocations: 18.55 kB / 0.9565 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.6438, allocations: 18.73 kB / 0.9565 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.6439, allocations: 6.641 kB / 0.9565 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.6439, allocations: 1.406 kB / 0.9565 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.6439, allocations: 9.016 kB / 0.9565 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.6439, allocations: 45.47 kB / 0.9566 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.086e-05/0.644, allocations: 47.38 kB / 0.9566 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.644, allocations: 0 / 0.9566 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.644, allocations: 4.875 kB / 0.9566 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.644, allocations: 0 / 0.9566 GB, free: 6.574 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.0003992/0.6444, allocations: 350.1 kB / 0.957 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.6445, allocations: 9.344 kB / 0.957 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.844e-05/0.6445, allocations: 39.89 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.6446, allocations: 7.25 kB / 0.957 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.864e-05/0.6446, allocations: 164.1 kB / 0.9572 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.6447, allocations: 1.469 kB / 0.9572 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.6447, allocations: 7 kB / 0.9572 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.6449, allocations: 75.84 kB / 0.9573 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.6449, allocations: 1.094 kB / 0.9573 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.6449, allocations: 0 / 0.9573 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.6449, allocations: 5.062 kB / 0.9573 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.6451, allocations: 64.88 kB / 0.9573 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.6455, allocations: 286.6 kB / 0.9576 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.6457, allocations: 72.83 kB / 0.9577 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.6458, allocations: 34.94 kB / 0.9577 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.6458, allocations: 6.062 kB / 0.9577 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.6458, allocations: 34.56 kB / 0.9577 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.6458, allocations: 0 / 0.9577 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003932/0.6462, allocations: 124.1 kB / 0.9579 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.6463, allocations: 55.39 kB / 0.9579 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.831e-05/0.6463, allocations: 118.9 kB / 0.958 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.6463, allocations: 31.11 kB / 0.9581 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.705e-05/0.6464, allocations: 81.83 kB / 0.9581 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.6464, allocations: 13.22 kB / 0.9582 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.6464, allocations: 11.19 kB / 0.9582 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.174e-05/0.6465, allocations: 328.2 kB / 0.9585 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.6466, allocations: 29.8 kB / 0.9585 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.238e-05/0.6467, allocations: 33.09 kB / 0.9585 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.6469, allocations: 59.5 kB / 0.9586 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6469, allocations: 1.25 kB / 0.9586 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000226/0.6471, allocations: 98.06 kB / 0.9587 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.6471, allocations: 5.375 kB / 0.9587 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6471, allocations: 3.984 kB / 0.9587 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.6472, allocations: 1.781 kB / 0.9587 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.6473, allocations: 20.89 kB / 0.9587 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.6473, allocations: 1.781 kB / 0.9587 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.6474, allocations: 5.375 kB / 0.9587 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.6474, allocations: 5.766 kB / 0.9587 GB, free: 4.578 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 5.259e-05/0.6474, allocations: 117.4 kB / 0.9588 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.6475, allocations: 1.812 kB / 0.9588 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.6475, allocations: 11.84 kB / 0.9589 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6475, allocations: 1.781 kB / 0.9589 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6475, allocations: 4 kB / 0.9589 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.6475, allocations: 0 / 0.9589 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.6476, allocations: 175.2 kB / 0.959 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6476, allocations: 1.312 kB / 0.959 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.574e-05/0.6477, allocations: 13.14 kB / 0.959 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6477, allocations: 1.25 kB / 0.959 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.6478, allocations: 1.375 kB / 0.959 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6478, allocations: 0 / 0.959 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6478, allocations: 0 / 0.959 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.648, allocations: 201.7 kB / 0.9592 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.6481, allocations: 82.48 kB / 0.9593 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.6481, allocations: 1.375 kB / 0.9593 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.6482, allocations: 14.86 kB / 0.9593 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.6482, allocations: 10.73 kB / 0.9593 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.6482, allocations: 2.75 kB / 0.9593 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.657e-05/0.6483, allocations: 88.77 kB / 0.9594 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6483, allocations: 0 / 0.9594 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002147/0.6485, allocations: 10.81 kB / 0.9594 GB, free: 3.852 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.0004191/0.6489, allocations: 0.7274 MB / 0.9601 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.6492, allocations: 75.77 kB / 0.9602 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6492, allocations: 3.938 kB / 0.9602 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.6493, allocations: 35.19 kB / 0.9603 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.6496, allocations: 7.719 kB / 0.9603 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.6508, allocations: 1.351 MB / 0.9616 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.6509, allocations: 0.6798 MB / 0.9622 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.273e-05/0.651, allocations: 11.39 kB / 0.9623 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.651, allocations: 14.44 kB / 0.9623 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.651, allocations: 3.938 kB / 0.9623 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.6632, allocations: 1.536 MB / 0.9638 GB, free: 424 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001371/0.6634, allocations: 215 kB / 0.964 GB, free: 168 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.428, allocations: 4.719 kB / 0.964 GB, free: 164 kB / 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