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.Less.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.Less,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less",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.949/1.949, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.00125/0.00125, allocations: 178.3 kB / 371.8 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.854/1.854, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009234/0.0009234, allocations: 93.66 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004338/0.0004339, allocations: 12.44 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2353, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.00216/0.2375, allocations: 1.644 MB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.2389, allocations: 1.023 MB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.2391, allocations: 0 / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.2394, allocations: 135.6 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.2397, allocations: 135.6 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.2401, allocations: 164.7 kB / 0.9825 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.2404, allocations: 183.6 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2405, allocations: 48.34 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.2406, allocations: 127.5 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.2408, allocations: 119.5 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.2408, allocations: 8 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.2409, allocations: 31.98 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.241, allocations: 79.72 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.2411, allocations: 65.58 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.2413, allocations: 291.5 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.2413, allocations: 0 / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2414, allocations: 0 / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2414, allocations: 0 / 0.9834 GB, free: 23.55 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007936/0.2422, allocations: 0.5797 MB / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2422, allocations: 12.02 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.2423, allocations: 42.56 kB / 0.984 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.2423, allocations: 43.47 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.2428, allocations: 357.2 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2428, allocations: 4 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.2428, allocations: 11.98 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.243, allocations: 101.6 kB / 0.9845 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2431, allocations: 4 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.2431, allocations: 4 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2431, allocations: 3.953 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.2432, allocations: 59.95 kB / 0.9846 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.2439, allocations: 0.4886 MB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.2442, allocations: 142.6 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.2443, allocations: 4 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.2445, allocations: 113.6 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.2445, allocations: 4 kB / 0.9853 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004528/0.245, allocations: 217.3 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.245, allocations: 55.41 kB / 0.9856 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.2455, allocations: 0.5015 MB / 0.9861 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2455, allocations: 33.92 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/0.2456, allocations: 164.4 kB / 0.9863 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.2456, allocations: 35.55 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.2457, allocations: 4 kB / 0.9863 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.2457, allocations: 358.8 kB / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.2459, allocations: 92.52 kB / 0.9867 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.2461, allocations: 139.5 kB / 0.9869 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.2462, allocations: 108.5 kB / 0.987 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2463, allocations: 0 / 0.987 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004198/0.2467, allocations: 333 kB / 0.9873 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2467, allocations: 6.031 kB / 0.9873 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2467, allocations: 0 / 0.9873 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2467, allocations: 4 kB / 0.9873 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.247, allocations: 51.91 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.247, allocations: 4 kB / 0.9874 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.2471, allocations: 23.83 kB / 0.9874 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.2471, allocations: 8 kB / 0.9874 GB, free: 19.26 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001361/0.2473, allocations: 181.8 kB / 0.9876 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.2473, allocations: 35.58 kB / 0.9876 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.501e-05/0.2474, allocations: 31.12 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2474, allocations: 4 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2474, allocations: 3.984 kB / 0.9876 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2474, allocations: 3.984 kB / 0.9876 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.2476, allocations: 301.4 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2476, allocations: 0 / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.446e-05/0.2477, allocations: 15.92 kB / 0.9879 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2477, allocations: 7.953 kB / 0.9879 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.2477, allocations: 11.98 kB / 0.988 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2477, allocations: 0 / 0.988 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2478, allocations: 0 / 0.988 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.2481, allocations: 206.9 kB / 0.9881 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.021e-05/0.2481, allocations: 116.7 kB / 0.9883 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.2482, allocations: 7.953 kB / 0.9883 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2483, allocations: 15.98 kB / 0.9883 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.2484, allocations: 19.91 kB / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.2484, allocations: 8 kB / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002406/0.2486, allocations: 315.1 kB / 0.9886 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.42e-07/0.2486, allocations: 0 / 0.9886 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004256/0.2491, allocations: 55.92 kB / 0.9887 GB, free: 17.85 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: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00119/0.2503, allocations: 1.062 MB / 0.9897 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003446/0.2506, allocations: 187.8 kB / 0.9899 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2506, allocations: 0 / 0.9899 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.2508, allocations: 59.97 kB / 0.9899 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.2511, allocations: 90.69 kB / 0.99 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.2522, allocations: 1.166 MB / 0.9912 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.2524, allocations: 0.7948 MB / 0.9919 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.2525, allocations: 58.92 kB / 0.992 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.2527, allocations: 107.4 kB / 0.9921 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2527, allocations: 0 / 0.9921 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.2692, allocations: 6.787 MB / 0.9987 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.2694, allocations: 239.8 kB / 0.999 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.297, allocations: 0 / 0.999 GB, free: 7.453 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)