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.007696/0.007696, allocations: 96.39 kB / 15.73 MB, free: 6 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.001742/0.001742, allocations: 189 kB / 16.67 MB, free: 5.93 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.568/2.568, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 63.89 kB / 1.018 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2948, allocations: 151.6 MB / 1.166 GB, free: 7.445 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00189/0.2967, allocations: 0.6958 MB / 1.167 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009294/0.2976, allocations: 0.8432 MB / 1.168 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.2977, allocations: 0 / 1.168 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.2977, allocations: 3.938 kB / 1.168 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.256e-05/0.2978, allocations: 11.94 kB / 1.168 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.298, allocations: 19.97 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.664e-05/0.2981, allocations: 43.89 kB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2982, allocations: 16 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.04e-05/0.2983, allocations: 23.92 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.191e-05/0.2983, allocations: 19.91 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.2984, allocations: 8 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.2984, allocations: 4 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.2984, allocations: 19.86 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.2984, allocations: 15.92 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.2986, allocations: 59.94 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2986, allocations: 4 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2986, allocations: 0 / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.2986, allocations: 0 / 1.168 GB, free: 5.645 MB / 0.92 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.0005192/0.2991, allocations: 355.3 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2992, allocations: 8.031 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.2992, allocations: 42.75 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.2992, allocations: 0.9375 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2994, allocations: 172.3 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2994, allocations: 4.375 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.2994, allocations: 8.125 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.2996, allocations: 69.59 kB / 1.169 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2996, allocations: 0 / 1.169 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2997, allocations: 7.984 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2997, allocations: 0 / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.2999, allocations: 47.95 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.3003, allocations: 288.8 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.3005, allocations: 70.45 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.3006, allocations: 28.92 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.3007, allocations: 4.062 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.3007, allocations: 34.56 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.3007, allocations: 0 / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004065/0.3011, allocations: 109.6 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.3012, allocations: 55.34 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.3012, allocations: 110.1 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.3013, allocations: 29.7 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.3013, allocations: 88.03 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.3013, allocations: 15.95 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.3014, allocations: 17.7 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3015, allocations: 318.8 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.3016, allocations: 23.97 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.936e-05/0.3017, allocations: 19.98 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.3019, allocations: 56.81 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3019, allocations: 0 / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002477/0.3022, allocations: 89.59 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3022, allocations: 7.938 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3022, allocations: 0 / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3022, allocations: 0 / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3024, allocations: 11.98 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3024, allocations: 4.062 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.782e-05/0.3025, allocations: 11.98 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3025, allocations: 7.938 kB / 1.17 GB, free: 3.336 MB / 0.92 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 8.243e-05/0.3026, allocations: 117.7 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.3026, allocations: 4 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.3026, allocations: 7.906 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.3026, allocations: 3.984 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3026, allocations: 0 / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.3026, allocations: 0 / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.3028, allocations: 173.6 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3028, allocations: 0 / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.868e-05/0.3029, allocations: 15.98 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3029, allocations: 0 / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.303, allocations: 3.984 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.303, allocations: 4 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.303, allocations: 4 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.3033, allocations: 187.3 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.3033, allocations: 81.48 kB / 1.171 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3033, allocations: 0 / 1.171 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3035, allocations: 11.98 kB / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.3035, allocations: 7.984 kB / 1.171 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3035, allocations: 11.98 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.621e-05/0.3036, allocations: 87.16 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3036, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002286/0.3038, allocations: 15.95 kB / 1.171 GB, free: 2.512 MB / 0.92 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.0006032/0.3044, allocations: 0.7163 MB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.3047, allocations: 51.95 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3047, allocations: 0 / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.3048, allocations: 35.97 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.3051, allocations: 6.344 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.3067, allocations: 1.323 MB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.307, allocations: 0.6768 MB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.545e-05/0.3071, allocations: 11.98 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.3071, allocations: 19.44 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.3071, allocations: 0 / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.3257, allocations: 1.85 MB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.797, allocations: 6.156 kB / 1.175 GB, free: 13.81 MB / 0.9356 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