Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.683/1.683, allocations: 288.4 MB / 303.3 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 180.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.4 MB / 0.6307 GB, free: 9.945 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009266/0.0009266, allocations: 94.28 kB / 0.744 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004424, allocations: 12.03 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2289, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.0008595/0.2298, allocations: 414 kB / 0.9801 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009232/0.2308, allocations: 0.8244 MB / 0.9809 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.2309, allocations: 4 kB / 0.9809 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.2309, allocations: 0 / 0.9809 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.721e-05/0.231, allocations: 11.88 kB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.2312, allocations: 15.98 kB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.553e-05/0.2312, allocations: 35.92 kB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.2313, allocations: 15.97 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.487e-05/0.2314, allocations: 19.92 kB / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.2315, allocations: 19.92 kB / 0.981 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.2315, allocations: 4 kB / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.2315, allocations: 4 kB / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.2316, allocations: 7.922 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.2316, allocations: 29.7 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.137e-05/0.2317, allocations: 27.92 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2317, allocations: 3.984 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2317, allocations: 0 / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2317, allocations: 0 / 0.981 GB, free: 26.11 MB / 0.6198 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.0004627/0.2322, allocations: 359.5 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2322, allocations: 12.02 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.2323, allocations: 38.56 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.2323, allocations: 7.891 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2324, allocations: 174.9 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.2324, allocations: 0 / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.2324, allocations: 4 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.2327, allocations: 81.64 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2327, allocations: 0 / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2327, allocations: 0 / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2327, allocations: 0 / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.2329, allocations: 59.94 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.2333, allocations: 300.7 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.2335, allocations: 66.53 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.2336, allocations: 40.91 kB / 0.9821 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.2337, allocations: 0 / 0.9821 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.2337, allocations: 34.56 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.2337, allocations: 4 kB / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004125/0.2341, allocations: 129.5 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.2341, allocations: 55.36 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/0.2342, allocations: 109.8 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.2342, allocations: 25.7 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.2343, allocations: 91.98 kB / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.2343, allocations: 11.91 kB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.2343, allocations: 0 / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.815e-05/0.2344, allocations: 314.8 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.2345, allocations: 31.97 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.431e-05/0.2346, allocations: 32.84 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.2347, allocations: 27.98 kB / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2347, allocations: 0 / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002341/0.235, allocations: 97.58 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.235, allocations: 4 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.235, allocations: 0 / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.235, allocations: 4 kB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.2352, allocations: 11.98 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2352, allocations: 3.953 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.2353, allocations: 19.83 kB / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.2353, allocations: 4 kB / 0.9831 GB, free: 23.77 MB / 0.6198 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 (intLesThr.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.901e-05/0.2353, allocations: 113.8 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.2354, allocations: 4 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.2354, allocations: 7.906 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2354, allocations: 3.984 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2354, allocations: 0 / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.2354, allocations: 3.953 kB / 0.9832 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.2356, allocations: 169.7 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2356, allocations: 0 / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/0.2357, allocations: 15.98 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2357, allocations: 4 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2357, allocations: 7.984 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2357, allocations: 0 / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2357, allocations: 0 / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.236, allocations: 203.3 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.2361, allocations: 81.11 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.2361, allocations: 0 / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.2362, allocations: 11.98 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.2363, allocations: 16.3 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.2363, allocations: 0 / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.128e-05/0.2363, allocations: 87.27 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2363, allocations: 4 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002078/0.2365, allocations: 8 kB / 0.9838 GB, free: 22.95 MB / 0.6198 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 (intLesThr.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005805/0.2371, allocations: 0.7395 MB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.2374, allocations: 59.95 kB / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2374, allocations: 0 / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.2375, allocations: 43.97 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.2378, allocations: 1.828 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2389, allocations: 486.3 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.2391, allocations: 0.6848 MB / 0.9858 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.332e-05/0.2392, allocations: 11.94 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.2392, allocations: 11.44 kB / 0.9858 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.2392, allocations: 0 / 0.9858 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.2508, allocations: 1.544 MB / 0.9873 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.251, allocations: 210.5 kB / 0.9875 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/1.786, allocations: 0 / 0.9875 GB, free: 19.21 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)