Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_10_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.0108/0.01081, allocations: 99.33 kB / 15.73 MB, free: 6.012 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.003077/0.003077, allocations: 191.2 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.932/2.932, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.05/5.05, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002596, allocations: 71.88 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82/1.822, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.003306/1.826, allocations: 0.7054 MB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001725/1.828, allocations: 0.8492 MB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/1.828, allocations: 0 / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.139e-05/1.828, allocations: 11.92 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/1.828, allocations: 3.938 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/1.828, allocations: 19.97 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/1.828, allocations: 51.84 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/1.828, allocations: 8 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/1.829, allocations: 19.92 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/1.829, allocations: 31.89 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.71e-05/1.829, allocations: 8 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.799e-05/1.829, allocations: 4 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/1.829, allocations: 11.92 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/1.829, allocations: 15.88 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/1.829, allocations: 51.84 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.829, allocations: 0 / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.417e-06/1.829, allocations: 0 / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.785e-06/1.829, allocations: 0 / 1.168 GB, free: 1.977 MB / 0.8887 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.0008794/1.83, allocations: 359 kB / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.164e-05/1.83, allocations: 16.62 kB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.97e-05/1.83, allocations: 30.75 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/1.83, allocations: 8.875 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/1.83, allocations: 168.3 kB / 1.168 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/1.83, allocations: 8.359 kB / 1.168 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/1.83, allocations: 8.125 kB / 1.168 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/1.831, allocations: 69.59 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/1.831, allocations: 0 / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/1.831, allocations: 0 / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.831, allocations: 4 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/1.831, allocations: 47.95 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000675/1.832, allocations: 296.7 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/1.832, allocations: 66.47 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/1.832, allocations: 32.91 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/1.832, allocations: 4 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/1.832, allocations: 34.56 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/1.832, allocations: 0 / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0008589/1.833, allocations: 101.6 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.141e-05/1.833, allocations: 59.34 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/1.833, allocations: 109.8 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/1.834, allocations: 25.7 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/1.834, allocations: 92.09 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/1.834, allocations: 3.953 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.118e-05/1.834, allocations: 21.7 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002139/1.834, allocations: 314.8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/1.834, allocations: 27.97 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/1.834, allocations: 27.97 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/1.835, allocations: 49.11 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.835, allocations: 0 / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003494/1.835, allocations: 89.58 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.835, allocations: 10.44 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.835, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/1.835, allocations: 8 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/1.835, allocations: 7.984 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.835, allocations: 4 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/1.835, allocations: 7.984 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/1.835, allocations: 11.88 kB / 1.17 GB, free: 15.67 MB / 0.9044 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 0.0001414/1.836, allocations: 109.8 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/1.836, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/1.836, allocations: 11.89 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/1.836, allocations: 8 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/1.836, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.836, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/1.836, allocations: 173.6 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.836, allocations: 3.938 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.854e-05/1.836, allocations: 11.98 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/1.836, allocations: 4 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/1.836, allocations: 4 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.836, allocations: 0 / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.836, allocations: 0 / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/1.837, allocations: 191.3 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.253e-05/1.837, allocations: 85.05 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/1.837, allocations: 4 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/1.837, allocations: 7.984 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.837, allocations: 11.98 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/1.837, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.196e-05/1.837, allocations: 99.2 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/1.837, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003277/1.838, allocations: 7.953 kB / 1.171 GB, free: 14.85 MB / 0.9044 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.0008974/1.838, allocations: 0.7163 MB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003657/1.839, allocations: 51.95 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.839, allocations: 0 / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/1.839, allocations: 31.97 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/1.84, allocations: 8 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/1.842, allocations: 1.335 MB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/1.843, allocations: 0.6846 MB / 1.173 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.273e-05/1.843, allocations: 4 kB / 1.173 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.557e-05/1.843, allocations: 15.44 kB / 1.173 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of SimCode: time 8.61e-07/1.843, allocations: 4 kB / 1.173 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07829/1.921, allocations: 1.846 MB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.77/19.69, allocations: 11.84 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches