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.00116/0.00116, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 194.5 kB / 16.53 MB, free: 6.691 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.467/2.467, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6498/0.6513, allocations: 140.4 MB / 0.9497 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001858/0.6532, allocations: 0.6952 MB / 0.9504 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007199/0.654, allocations: 0.8401 MB / 0.9512 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.654, allocations: 0 / 0.9512 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.6541, allocations: 9.141 kB / 0.9512 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.6541, allocations: 3.938 kB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.6543, allocations: 24.8 kB / 0.9513 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.546e-05/0.6544, allocations: 47.38 kB / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.6545, allocations: 13.23 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.395e-05/0.6546, allocations: 23.8 kB / 0.9513 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.971e-05/0.6546, allocations: 21.75 kB / 0.9514 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.6547, allocations: 5.062 kB / 0.9514 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.6547, allocations: 4.625 kB / 0.9514 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.6547, allocations: 13.16 kB / 0.9514 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.6548, allocations: 22.69 kB / 0.9514 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.63e-05/0.6548, allocations: 49.11 kB / 0.9515 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6549, allocations: 0 / 0.9515 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6549, allocations: 0 / 0.9515 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.6549, allocations: 3.938 kB / 0.9515 GB, free: 7.82 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.0004992/0.6554, allocations: 366.5 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.6554, allocations: 9.625 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.6555, allocations: 36.16 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.6555, allocations: 6.312 kB / 0.9519 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.6556, allocations: 172 kB / 0.952 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.6557, allocations: 1.469 kB / 0.952 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.6557, allocations: 3.062 kB / 0.952 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.6559, allocations: 71.42 kB / 0.9521 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.6559, allocations: 3.984 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.6559, allocations: 5.531 kB / 0.9521 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.6559, allocations: 0 / 0.9521 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.6561, allocations: 54.92 kB / 0.9522 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.6565, allocations: 283.8 kB / 0.9524 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.6567, allocations: 67.02 kB / 0.9525 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.6568, allocations: 30.89 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.6569, allocations: 0 / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.6569, allocations: 39.86 kB / 0.9526 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.6569, allocations: 0 / 0.9526 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004039/0.6573, allocations: 108.6 kB / 0.9527 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.6573, allocations: 52.69 kB / 0.9527 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.6574, allocations: 110.7 kB / 0.9528 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.6574, allocations: 26.58 kB / 0.9528 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.6575, allocations: 86.11 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.6575, allocations: 16.73 kB / 0.9529 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.6575, allocations: 18.67 kB / 0.953 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.262e-05/0.6576, allocations: 324.3 kB / 0.9533 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.6577, allocations: 23.75 kB / 0.9533 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.14e-05/0.6578, allocations: 28.7 kB / 0.9533 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.658, allocations: 49.66 kB / 0.9534 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.658, allocations: 1.625 kB / 0.9534 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002245/0.6582, allocations: 84.08 kB / 0.9534 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.6582, allocations: 5.906 kB / 0.9534 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6582, allocations: 4 kB / 0.9535 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.6583, allocations: 4 kB / 0.9535 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.6584, allocations: 11.98 kB / 0.9535 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.6584, allocations: 0 / 0.9535 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.255e-05/0.6585, allocations: 8.641 kB / 0.9535 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.6585, allocations: 1.562 kB / 0.9535 GB, free: 5.824 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,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.099e-05/0.6586, allocations: 120.8 kB / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.6586, allocations: 4.969 kB / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.6586, allocations: 13.05 kB / 0.9536 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6586, allocations: 9.125 kB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6586, allocations: 0 / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.6586, allocations: 1.156 kB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.6588, allocations: 175.2 kB / 0.9538 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6588, allocations: 0 / 0.9538 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.773e-05/0.6589, allocations: 12.11 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6589, allocations: 1.469 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.6589, allocations: 3.984 kB / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6589, allocations: 0 / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6589, allocations: 1.281 kB / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.6592, allocations: 184 kB / 0.954 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.6592, allocations: 90.58 kB / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.6592, allocations: 0 / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-05/0.6593, allocations: 8.297 kB / 0.9541 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.6594, allocations: 11.83 kB / 0.9541 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.6594, allocations: 2.469 kB / 0.9541 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.667e-05/0.6594, allocations: 88.81 kB / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6594, allocations: 0 / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002265/0.6596, allocations: 10.53 kB / 0.9542 GB, free: 5.086 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 (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.0004241/0.6601, allocations: 0.7177 MB / 0.9549 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.6603, allocations: 58.14 kB / 0.9549 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6603, allocations: 0 / 0.9549 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.6604, allocations: 35.34 kB / 0.955 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.6607, allocations: 3.875 kB / 0.955 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.662, allocations: 1.322 MB / 0.9563 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.6621, allocations: 0.6843 MB / 0.9569 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.706e-05/0.6622, allocations: 7.719 kB / 0.9569 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.6622, allocations: 19.33 kB / 0.957 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6622, allocations: 0 / 0.957 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.678, allocations: 1.807 MB / 0.9587 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/8.145, allocations: 7.594 kB / 0.9587 GB, free: 1.387 MB / 0.7169 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