Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.0007736/0.0007737, allocations: 90.52 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.005402/0.005402, allocations: 170.2 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.322/1.322, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.262/2.262, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.000339, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7456/0.746, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.0009601/0.747, allocations: 425.2 kB / 0.9556 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008663/0.7479, allocations: 0.8399 MB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.7479, allocations: 1.125 kB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.7479, allocations: 0 / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.748, allocations: 5.25 kB / 0.9564 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.7482, allocations: 20.86 kB / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.942e-05/0.7483, allocations: 42.22 kB / 0.9565 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.7484, allocations: 13.05 kB / 0.9565 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.7485, allocations: 18.2 kB / 0.9565 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.7485, allocations: 27.14 kB / 0.9565 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.7486, allocations: 1.812 kB / 0.9565 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.7486, allocations: 2.062 kB / 0.9565 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.7486, allocations: 9.078 kB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.7487, allocations: 41.16 kB / 0.9566 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.435e-05/0.7487, allocations: 43.39 kB / 0.9566 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7488, allocations: 7.922 kB / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7488, allocations: 1.031 kB / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7488, allocations: 0 / 0.9566 GB, free: 6.488 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.0004729/0.7493, allocations: 351 kB / 0.957 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.7493, allocations: 10.31 kB / 0.957 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.7494, allocations: 39.73 kB / 0.957 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.7494, allocations: 6.969 kB / 0.957 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.7495, allocations: 162.7 kB / 0.9572 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.7496, allocations: 2.656 kB / 0.9572 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.7496, allocations: 6.5 kB / 0.9572 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.7498, allocations: 81.33 kB / 0.9573 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.7498, allocations: 0 / 0.9573 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7498, allocations: 0 / 0.9573 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.7498, allocations: 1.031 kB / 0.9573 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.7501, allocations: 72.27 kB / 0.9573 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.7505, allocations: 289.1 kB / 0.9576 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.7507, allocations: 68.5 kB / 0.9577 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.7508, allocations: 35.77 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.7508, allocations: 3.938 kB / 0.9577 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.7509, allocations: 35.62 kB / 0.9577 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.7509, allocations: 0 / 0.9577 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004147/0.7513, allocations: 123.8 kB / 0.9579 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.7513, allocations: 52.41 kB / 0.9579 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.613e-05/0.7514, allocations: 114.5 kB / 0.958 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.7514, allocations: 26.67 kB / 0.958 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.7514, allocations: 90.33 kB / 0.9581 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.7515, allocations: 8.875 kB / 0.9581 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.7515, allocations: 12.03 kB / 0.9582 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.426e-05/0.7515, allocations: 323.8 kB / 0.9585 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.7517, allocations: 28.7 kB / 0.9585 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.279e-05/0.7518, allocations: 38.41 kB / 0.9585 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.752, allocations: 63.11 kB / 0.9586 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.752, allocations: 1.188 kB / 0.9586 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002301/0.7522, allocations: 97.69 kB / 0.9587 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.7522, allocations: 10.58 kB / 0.9587 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.7522, allocations: 1.312 kB / 0.9587 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.7522, allocations: 3.938 kB / 0.9587 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.7524, allocations: 15.48 kB / 0.9587 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.7524, allocations: 0 / 0.9587 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.7525, allocations: 19.42 kB / 0.9587 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.7525, allocations: 1.938 kB / 0.9587 GB, free: 4.488 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,intLesThr.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.919e-05/0.7525, allocations: 115.6 kB / 0.9588 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.7526, allocations: 1.938 kB / 0.9588 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.7526, allocations: 10 kB / 0.9589 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7526, allocations: 0 / 0.9589 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.7526, allocations: 0 / 0.9589 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.7526, allocations: 4 kB / 0.9589 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.7528, allocations: 180.8 kB / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7528, allocations: 0 / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-05/0.7528, allocations: 13.14 kB / 0.959 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7529, allocations: 1.812 kB / 0.959 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.7529, allocations: 4 kB / 0.959 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7529, allocations: 0 / 0.959 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7529, allocations: 1.094 kB / 0.959 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.7532, allocations: 200.8 kB / 0.9592 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.7532, allocations: 78.64 kB / 0.9593 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.7532, allocations: 5.359 kB / 0.9593 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.7533, allocations: 7.281 kB / 0.9593 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.7534, allocations: 15.67 kB / 0.9593 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.7534, allocations: 5.734 kB / 0.9593 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.004e-05/0.7534, allocations: 84.91 kB / 0.9594 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7534, allocations: 0 / 0.9594 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002147/0.7537, allocations: 11.56 kB / 0.9594 GB, free: 3.762 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 (intLesThr.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.0004738/0.7541, allocations: 0.7251 MB / 0.9601 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.7544, allocations: 72.12 kB / 0.9602 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7544, allocations: 0 / 0.9602 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.7545, allocations: 40.7 kB / 0.9603 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.7548, allocations: 6.094 kB / 0.9603 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.756, allocations: 1.353 MB / 0.9616 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.7561, allocations: 0.6851 MB / 0.9623 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.121e-05/0.7562, allocations: 4.125 kB / 0.9623 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.7562, allocations: 18.19 kB / 0.9623 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7562, allocations: 7.938 kB / 0.9623 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01062/0.7669, allocations: 1.527 MB / 0.9638 GB, free: 304 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/0.767, allocations: 217.5 kB / 0.964 GB, free: 36 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/4.036, allocations: 0 / 0.964 GB, free: 36 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches