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.001606/0.001606, allocations: 104 kB / 15.6 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.001884/0.001884, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437 MB / 0.7104 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 0.8694 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.554/0.5553, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001818/0.5572, allocations: 0.7069 MB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007968/0.558, allocations: 0.8468 MB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.558, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.5581, allocations: 3.938 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.772e-05/0.5581, allocations: 3.938 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001173/0.5583, allocations: 15.98 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.274e-05/0.5583, allocations: 51.84 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.5584, allocations: 19.98 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.67e-05/0.5585, allocations: 11.98 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.5586, allocations: 31.84 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.5586, allocations: 4 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.5586, allocations: 4 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.5586, allocations: 11.98 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.5587, allocations: 19.86 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.07e-05/0.5588, allocations: 43.86 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5588, allocations: 4 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5588, allocations: 3.938 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.5588, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.7637 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.0004502/0.5592, allocations: 357.5 kB / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.5593, allocations: 12.03 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.5593, allocations: 30.75 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.5593, allocations: 4.938 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.5595, allocations: 168.3 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.5595, allocations: 8.375 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.5595, allocations: 384 / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.5597, allocations: 77.58 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.5597, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.5597, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.5597, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.5599, allocations: 55.89 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.5603, allocations: 284.8 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.5605, allocations: 66.52 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.5606, allocations: 28.92 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.5607, allocations: 7.938 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.5607, allocations: 34.55 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.189e-05/0.5607, allocations: 4 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000406/0.5611, allocations: 117.4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.5611, allocations: 51.41 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.5612, allocations: 109.8 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.5613, allocations: 25.7 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.5613, allocations: 88.14 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.5613, allocations: 15.81 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.5614, allocations: 25.7 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.5615, allocations: 318.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.5616, allocations: 23.97 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.34e-05/0.5617, allocations: 27.92 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.5619, allocations: 48.81 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5619, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002334/0.5621, allocations: 81.64 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.5622, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.5622, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.5622, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.5623, allocations: 15.98 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.5623, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.5624, allocations: 11.98 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.5624, allocations: 7.938 kB / 1.021 GB, free: 14.42 MB / 0.7794 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 7.439e-05/0.5625, allocations: 115.3 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.5625, allocations: 3.906 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.5626, allocations: 15.89 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.5626, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5626, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.5626, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.5627, allocations: 169.6 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5627, allocations: 7.984 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.74e-05/0.5628, allocations: 11.98 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5628, allocations: 4 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.5629, allocations: 4 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5629, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.5629, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.5632, allocations: 187.6 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.5632, allocations: 85.05 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.5632, allocations: 8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.5633, allocations: 7.984 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.5634, allocations: 11.98 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.5634, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.5634, allocations: 87.28 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5634, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002199/0.5637, allocations: 7.938 kB / 1.022 GB, free: 13.61 MB / 0.7794 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.0005306/0.5642, allocations: 0.7202 MB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.5645, allocations: 55.89 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5645, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.5646, allocations: 35.97 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.5649, allocations: 8 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.5663, allocations: 1.311 MB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.5665, allocations: 0.6884 MB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.244e-05/0.5665, allocations: 4 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.5666, allocations: 23.42 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5666, allocations: 3.938 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.5826, allocations: 1.813 MB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/7.503, allocations: 9.203 kB / 1.026 GB, free: 8.906 MB / 0.7794 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