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.001318/0.001318, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00132/0.00132, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.533/2.533, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.89 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6475/0.6489, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001574/0.6505, allocations: 0.7699 MB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007821/0.6513, allocations: 0.8312 MB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.6514, allocations: 0 / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.6514, allocations: 0 / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.6515, allocations: 7.938 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001071/0.6516, allocations: 23.97 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.457e-05/0.6516, allocations: 51.78 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.344e-05/0.6517, allocations: 19.98 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.919e-05/0.6518, allocations: 15.94 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.6518, allocations: 31.89 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.6519, allocations: 4 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.6519, allocations: 4 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.6519, allocations: 7.984 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.6519, allocations: 19.88 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.29e-05/0.652, allocations: 43.84 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.652, allocations: 4 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.072e-06/0.652, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.652, allocations: 0 / 1.019 GB, free: 0.8516 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.0003826/0.6524, allocations: 366.9 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.6525, allocations: 8.031 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.6525, allocations: 34.75 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.081e-05/0.6525, allocations: 0.9375 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.6526, allocations: 176.2 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.6526, allocations: 4.375 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.6527, allocations: 8.375 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.6528, allocations: 65.59 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-06/0.6528, allocations: 4 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.6528, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.6529, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.653, allocations: 51.95 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.6534, allocations: 292.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.6536, allocations: 58.55 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.518e-05/0.6537, allocations: 36.91 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.6537, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.6537, allocations: 38.5 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.6537, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003482/0.6541, allocations: 113.5 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.6541, allocations: 51.41 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.832e-05/0.6542, allocations: 109.8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.6542, allocations: 25.7 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.6543, allocations: 88.14 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.6543, allocations: 19.73 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.6543, allocations: 17.72 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.6544, allocations: 314.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/0.6545, allocations: 23.97 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.271e-05/0.6546, allocations: 28.16 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.6548, allocations: 60.89 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6548, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002088/0.655, allocations: 85.53 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.655, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.655, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/0.655, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.88e-05/0.6551, allocations: 11.98 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.6551, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/0.6552, allocations: 15.98 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.6552, allocations: 8 kB / 1.021 GB, free: 14.54 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 6.061e-05/0.6553, allocations: 110.3 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.6553, allocations: 11.89 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.6554, allocations: 7.906 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.6554, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6554, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.6554, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.6555, allocations: 177.6 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6555, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.568e-05/0.6556, allocations: 19.92 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.6556, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.6556, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6556, allocations: 3.938 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6557, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.6559, allocations: 183.4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.6559, allocations: 81.02 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.656, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.6561, allocations: 7.984 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.6561, allocations: 11.98 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.6561, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.6562, allocations: 87.58 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6562, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002048/0.6564, allocations: 11.94 kB / 1.021 GB, free: 13.73 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.0004928/0.6569, allocations: 0.7163 MB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.6571, allocations: 55.95 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.6571, allocations: 4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.98e-05/0.6572, allocations: 32.14 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.6575, allocations: 11.98 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.6588, allocations: 1.327 MB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.659, allocations: 0.6883 MB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.14e-05/0.659, allocations: 7.984 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.6591, allocations: 19.44 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6591, allocations: 0 / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3693/1.028, allocations: 1.662 MB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/1.029, allocations: 225.3 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.306/4.334, allocations: 0 / 1.026 GB, free: 8.961 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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