Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.009001/0.009001, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001842/0.001842, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.274/2.274, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 75.88 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8558/0.8574, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001916/0.8593, allocations: 0.7047 MB / 1.088 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.8605, allocations: 0.8321 MB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.8606, allocations: 0 / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.8606, allocations: 8.594 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.956e-05/0.8608, allocations: 5.672 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.861, allocations: 29.67 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.8611, allocations: 45.64 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.8612, allocations: 12.44 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.686e-05/0.8613, allocations: 22.53 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.53e-05/0.8614, allocations: 25.44 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.8615, allocations: 8.625 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.8615, allocations: 3.906 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.8615, allocations: 11.7 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.8616, allocations: 18.47 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.8617, allocations: 51.03 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8617, allocations: 0 / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8617, allocations: 0.9375 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.8618, allocations: 0 / 1.089 GB, free: 4.059 MB / 0.8575 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.0005661/0.8623, allocations: 353 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.8624, allocations: 14.72 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.8624, allocations: 36.44 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.8625, allocations: 15.05 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.8626, allocations: 174 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.8626, allocations: 1.594 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.8627, allocations: 6.812 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.8629, allocations: 63.25 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.8629, allocations: 1.438 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.8629, allocations: 4.516 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.8629, allocations: 5.344 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.8632, allocations: 47.39 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.8637, allocations: 296.5 kB / 1.09 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.8639, allocations: 62.36 kB / 1.09 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.864, allocations: 32.19 kB / 1.09 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.864, allocations: 1.094 kB / 1.09 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.8641, allocations: 31.36 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.8641, allocations: 1.094 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004383/0.8645, allocations: 112.9 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.8645, allocations: 56.5 kB / 1.09 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.08e-05/0.8646, allocations: 106.5 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.8646, allocations: 26.45 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.8647, allocations: 87.25 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.8647, allocations: 14.58 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.8648, allocations: 16.39 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.142e-05/0.8648, allocations: 320.8 kB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.8649, allocations: 26.91 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-05/0.865, allocations: 23.47 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.8653, allocations: 57.06 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8653, allocations: 0.5625 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002542/0.8655, allocations: 83.64 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.8656, allocations: 5.547 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.8656, allocations: 4.969 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.8656, allocations: 0 / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.8657, allocations: 12.52 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.8657, allocations: 320 / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.8658, allocations: 8.75 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.8658, allocations: 5.062 kB / 1.091 GB, free: 2.219 MB / 0.8575 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,intLesEquThr.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 6.76e-05/0.8659, allocations: 112.8 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.8659, allocations: 10.58 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.866, allocations: 13.58 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.866, allocations: 1 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.866, allocations: 0.7031 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.866, allocations: 1 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.8662, allocations: 177.6 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8662, allocations: 6.141 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.311e-05/0.8663, allocations: 11.3 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.8663, allocations: 0 / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.8663, allocations: 2.375 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8663, allocations: 0 / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8663, allocations: 0 / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.8666, allocations: 191.9 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.8667, allocations: 83.89 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.8667, allocations: 0.5156 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.8668, allocations: 7.578 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.8669, allocations: 11.2 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.8669, allocations: 6.375 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.8669, allocations: 95.64 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.273e-06/0.8669, allocations: 0 / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002277/0.8672, allocations: 11.28 kB / 1.092 GB, free: 1.52 MB / 0.8575 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 (intLesEquThr.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.0006789/0.8679, allocations: 0.7196 MB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.8682, allocations: 53.12 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.8682, allocations: 0 / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.8683, allocations: 38.14 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.8687, allocations: 7.031 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.8704, allocations: 1.312 MB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.8707, allocations: 0.6816 MB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.939e-05/0.8708, allocations: 4.094 kB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.8708, allocations: 25.39 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/0.8708, allocations: 0.75 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.8903, allocations: 1.84 MB / 1.097 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/8.504, allocations: 7.094 kB / 1.097 GB, free: 14.52 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches