Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.659/2.659, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001288/0.001288, allocations: 190.2 kB / 371 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.367/2.367, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0008887/0.0008886, allocations: 93.45 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006785/0.0006792, allocations: 16.44 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2307, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002496/0.2333, allocations: 1.652 MB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002175/0.2355, allocations: 1.035 MB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.2357, allocations: 7.938 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.2362, allocations: 143.6 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.2366, allocations: 119.5 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006662/0.2373, allocations: 166.9 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004479/0.2378, allocations: 267.1 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.238, allocations: 44.36 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.2383, allocations: 119.4 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.2385, allocations: 127.5 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.2386, allocations: 4 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.2388, allocations: 47.95 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2389, allocations: 71.75 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.239, allocations: 77.5 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.2394, allocations: 275.6 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2394, allocations: 0 / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2394, allocations: 0 / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.2394, allocations: 0 / 0.9825 GB, free: 24.08 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.001185/0.2406, allocations: 0.5848 MB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.2407, allocations: 12.02 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.033e-05/0.2408, allocations: 42.55 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.2409, allocations: 31.53 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.2415, allocations: 365.2 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.2415, allocations: 8 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.2416, allocations: 4 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.2419, allocations: 105.6 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2419, allocations: 8 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.242, allocations: 11.88 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.242, allocations: 0 / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.2422, allocations: 55.97 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.2433, allocations: 0.5042 MB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.2438, allocations: 130.8 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.244, allocations: 52.83 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.2441, allocations: 0 / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003205/0.2444, allocations: 119.3 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.2444, allocations: 0 / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007748/0.2452, allocations: 214.6 kB / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.2453, allocations: 51.41 kB / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007069/0.246, allocations: 0.5054 MB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.246, allocations: 29.7 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.2462, allocations: 160.5 kB / 0.9854 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.2462, allocations: 43.53 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.2462, allocations: 8 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.2463, allocations: 346.8 kB / 0.9858 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.2466, allocations: 100.5 kB / 0.9859 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.247, allocations: 139.5 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.2473, allocations: 112.4 kB / 0.9861 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2473, allocations: 4 kB / 0.9861 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008069/0.2481, allocations: 321.1 kB / 0.9864 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2481, allocations: 8 kB / 0.9864 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2482, allocations: 0 / 0.9864 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.2482, allocations: 4 kB / 0.9864 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.2486, allocations: 47.91 kB / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.2486, allocations: 4 kB / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.2489, allocations: 27.89 kB / 0.9865 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.249, allocations: 15.98 kB / 0.9865 GB, free: 19.73 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.0002322/0.2492, allocations: 183 kB / 0.9867 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.2493, allocations: 31.62 kB / 0.9867 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.433e-05/0.2494, allocations: 31.12 kB / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2494, allocations: 7.984 kB / 0.9868 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2494, allocations: 0 / 0.9868 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2494, allocations: 3.984 kB / 0.9868 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.2497, allocations: 297.5 kB / 0.987 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2497, allocations: 7.953 kB / 0.9871 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.2499, allocations: 11.98 kB / 0.9871 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.2499, allocations: 0 / 0.9871 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.2499, allocations: 11.92 kB / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2499, allocations: 0 / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2499, allocations: 0 / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.2505, allocations: 210.7 kB / 0.9873 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.2506, allocations: 116.7 kB / 0.9874 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.2507, allocations: 12 kB / 0.9874 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.2509, allocations: 11.98 kB / 0.9874 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.096e-05/0.251, allocations: 19.97 kB / 0.9874 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.2511, allocations: 4 kB / 0.9874 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004562/0.2515, allocations: 315.1 kB / 0.9877 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.4e-07/0.2515, allocations: 0 / 0.9877 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004604/0.252, allocations: 59.98 kB / 0.9878 GB, free: 18.32 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.001824/0.2538, allocations: 1.064 MB / 0.9888 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006551/0.2545, allocations: 187.9 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2546, allocations: 0 / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.2548, allocations: 68.03 kB / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/0.2555, allocations: 79.86 kB / 0.9892 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.2598, allocations: 2.071 MB / 0.9912 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.2602, allocations: 0.7831 MB / 0.9919 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002597/0.2605, allocations: 62.92 kB / 0.992 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.2607, allocations: 103.4 kB / 0.9921 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of SimCode: time 1.432e-06/0.2607, allocations: 3.938 kB / 0.9921 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.2986, allocations: 6.98 MB / 0.9989 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/0.2989, allocations: 228.6 kB / 0.9991 GB, free: 6.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/3.068, allocations: 4 kB / 0.9991 GB, free: 6.906 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)