Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_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.001029/0.001034, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001166/0.001166, allocations: 189.1 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 292.3 MB / 0.5486 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 70.39 kB / 0.6711 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2365, allocations: 114.6 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002531/0.2391, allocations: 0.7621 MB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2403, allocations: 0.8371 MB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.275e-05/0.2403, allocations: 0 / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.837e-05/0.2404, allocations: 0 / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.523e-05/0.2405, allocations: 11.88 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.2407, allocations: 15.98 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.181e-05/0.2408, allocations: 39.91 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.2409, allocations: 19.98 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.938e-05/0.241, allocations: 23.92 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.74e-05/0.241, allocations: 27.91 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.2411, allocations: 4 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.2411, allocations: 4 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.2411, allocations: 7.984 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.2412, allocations: 19.86 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.621e-05/0.2413, allocations: 43.88 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2413, allocations: 3.984 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2413, allocations: 0 / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.2413, allocations: 0 / 0.7848 GB, free: 11.95 MB / 0.6075 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.0005619/0.2419, allocations: 355.6 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.2419, allocations: 11.97 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.242, allocations: 42.73 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.242, allocations: 0.9375 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.2421, allocations: 180.2 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.2422, allocations: 4.312 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.2422, allocations: 8.375 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.2424, allocations: 62.22 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2424, allocations: 11.94 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.2424, allocations: 3.984 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2424, allocations: 0 / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.2426, allocations: 55.88 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.2431, allocations: 280.8 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.2433, allocations: 66.53 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.2434, allocations: 28.92 kB / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.2434, allocations: 0 / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.2435, allocations: 42.5 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.2435, allocations: 0 / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003957/0.2439, allocations: 113.5 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.2439, allocations: 51.41 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.244, allocations: 113.8 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.2441, allocations: 25.7 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.2441, allocations: 80.14 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.2442, allocations: 19.88 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.2442, allocations: 21.7 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2443, allocations: 318.8 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.2444, allocations: 23.97 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-05/0.2445, allocations: 19.98 kB / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.2447, allocations: 60.75 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2447, allocations: 0 / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002447/0.245, allocations: 85.64 kB / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.245, allocations: 4 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.245, allocations: 0 / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.245, allocations: 0 / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.2452, allocations: 11.98 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2452, allocations: 0 / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.471e-05/0.2452, allocations: 11.92 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.2453, allocations: 4 kB / 0.7868 GB, free: 9.633 MB / 0.6075 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.509e-05/0.2454, allocations: 126.3 kB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.2454, allocations: 7.906 kB / 0.7869 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.2454, allocations: 7.906 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2454, allocations: 0 / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2454, allocations: 0 / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2455, allocations: 3.984 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.2456, allocations: 173.6 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2456, allocations: 336 / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.842e-05/0.2457, allocations: 15.92 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2458, allocations: 4 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2458, allocations: 3.984 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2458, allocations: 0 / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2458, allocations: 4.312 kB / 0.7871 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.2461, allocations: 183.4 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.2461, allocations: 81.02 kB / 0.7874 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.2461, allocations: 4 kB / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2463, allocations: 15.92 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.2463, allocations: 8 kB / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.2463, allocations: 7.984 kB / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.2464, allocations: 83.27 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2464, allocations: 0 / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002241/0.2466, allocations: 12 kB / 0.7875 GB, free: 8.805 MB / 0.6075 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.0006088/0.2472, allocations: 0.7163 MB / 0.7882 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.2475, allocations: 59.89 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2475, allocations: 0 / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.2476, allocations: 27.97 kB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.2479, allocations: 12 kB / 0.7883 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.2495, allocations: 1.331 MB / 0.7896 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.2498, allocations: 0.6807 MB / 0.7903 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.733e-05/0.2499, allocations: 8 kB / 0.7903 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.2499, allocations: 23.42 kB / 0.7903 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2499, allocations: 0 / 0.7903 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01105/0.261, allocations: 1.652 MB / 0.7919 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.2612, allocations: 218.6 kB / 0.7921 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.011, allocations: 0 / 0.7921 GB, free: 4.055 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)