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.001209/0.001209, allocations: 108 kB / 15.6 MB, free: 132 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.001169/0.001169, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.481/2.481, allocations: 437.1 MB / 0.7104 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 0.8694 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6253/0.6268, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002148/0.629, allocations: 0.705 MB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009544/0.63, allocations: 0.8429 MB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.63, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.6301, allocations: 7.922 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.444e-05/0.6302, allocations: 3.938 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.6303, allocations: 19.98 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.33e-05/0.6304, allocations: 47.83 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.6306, allocations: 20 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.016e-05/0.6306, allocations: 15.98 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/0.6307, allocations: 27.84 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.6307, allocations: 4 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.6307, allocations: 4 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.6308, allocations: 11.98 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.6308, allocations: 19.86 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.679e-05/0.6309, allocations: 51.84 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6309, allocations: 0 / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6309, allocations: 4 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.6309, allocations: 0 / 1.019 GB, free: 0.6562 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.0004866/0.6314, allocations: 353.6 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.6315, allocations: 12.02 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.6315, allocations: 38.69 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.6316, allocations: 4.938 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.6317, allocations: 168.3 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.6317, allocations: 384 / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.6318, allocations: 8.484 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.632, allocations: 73.53 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.632, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.632, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.632, allocations: 4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.6322, allocations: 47.94 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.6327, allocations: 292.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.6329, allocations: 62.53 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.633, allocations: 28.92 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.633, allocations: 4.062 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.6331, allocations: 38.56 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.6331, allocations: 3.938 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004139/0.6335, allocations: 109.5 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.6335, allocations: 55.34 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.6336, allocations: 113.8 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.6336, allocations: 29.7 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.6337, allocations: 84.14 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.6337, allocations: 19.75 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.6337, allocations: 21.7 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.6339, allocations: 314.8 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.634, allocations: 23.97 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.153e-05/0.6341, allocations: 19.98 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.6343, allocations: 60.75 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6343, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002311/0.6345, allocations: 77.97 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.6345, allocations: 8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6345, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.6345, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.6347, allocations: 11.98 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.6347, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/0.6348, allocations: 11.98 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.6348, allocations: 0 / 1.021 GB, free: 14.36 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.544e-05/0.6349, allocations: 121.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.6349, allocations: 11.84 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.6349, allocations: 7.906 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6349, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6349, allocations: 3.984 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.6349, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.6351, allocations: 173.6 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6351, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.001e-05/0.6352, allocations: 11.98 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.6352, allocations: 4 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.6352, allocations: 3.984 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6352, allocations: 3.938 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6353, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.6355, allocations: 183.4 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.6356, allocations: 88.95 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.6356, allocations: 4 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.6357, allocations: 7.984 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.6358, allocations: 15.92 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.6358, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.518e-05/0.6359, allocations: 87.28 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6359, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002221/0.6361, allocations: 11.94 kB / 1.022 GB, free: 13.53 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.0005813/0.6367, allocations: 0.7125 MB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.6369, allocations: 59.89 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.637, allocations: 4 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.6371, allocations: 27.97 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.6374, allocations: 8 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.6389, allocations: 1.319 MB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.6392, allocations: 0.6845 MB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.299e-05/0.6392, allocations: 4 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.6393, allocations: 19.42 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6393, allocations: 4 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2555/0.8948, allocations: 1.81 MB / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.658, allocations: 12.28 kB / 1.026 GB, free: 8.844 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