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.627/2.627, allocations: 287.3 MB / 302.3 MB, free: 8.215 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.001561/0.001561, allocations: 185 kB / 370.8 MB, free: 10.87 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.594/2.594, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001077/0.001077, allocations: 102 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004908, allocations: 12.64 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2335, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002437/0.236, allocations: 1.644 MB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.2382, allocations: 1.016 MB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.2384, allocations: 0 / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004353/0.2388, allocations: 143.6 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.2392, allocations: 127.6 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.2398, allocations: 162.9 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.2401, allocations: 187.6 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.2403, allocations: 48.31 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.2406, allocations: 131.5 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.2408, allocations: 111.5 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.2408, allocations: 4 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.241, allocations: 35.97 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2411, allocations: 79.72 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.744e-05/0.2412, allocations: 69.58 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.2416, allocations: 295.5 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2416, allocations: 0 / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2416, allocations: 0 / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.2416, allocations: 0 / 0.9822 GB, free: 24.25 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.001102/0.2428, allocations: 0.5757 MB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.2428, allocations: 12.02 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.2429, allocations: 42.55 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.716e-05/0.243, allocations: 35.47 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.2436, allocations: 365.2 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.2437, allocations: 8 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.2437, allocations: 4 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.2441, allocations: 109.6 kB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2441, allocations: 0 / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.2442, allocations: 3.953 kB / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2442, allocations: 0 / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.2444, allocations: 63.95 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.2455, allocations: 0.5003 MB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.2461, allocations: 138.7 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.2461, allocations: 4 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003177/0.2465, allocations: 107.3 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 3.537e-06/0.2465, allocations: 0 / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.000812/0.2473, allocations: 219.3 kB / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.2474, allocations: 55.41 kB / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007598/0.2481, allocations: 0.5093 MB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.2482, allocations: 33.7 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.2483, allocations: 160.6 kB / 0.9851 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.2484, allocations: 43.53 kB / 0.9851 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.2484, allocations: 4 kB / 0.9851 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.2485, allocations: 354.8 kB / 0.9855 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.2488, allocations: 92.52 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.2491, allocations: 139.6 kB / 0.9857 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.2495, allocations: 104.5 kB / 0.9858 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.2495, allocations: 7.953 kB / 0.9858 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008281/0.2503, allocations: 321.1 kB / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.2504, allocations: 4 kB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2504, allocations: 0 / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.2504, allocations: 4.062 kB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.2508, allocations: 51.91 kB / 0.9862 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.2508, allocations: 7.984 kB / 0.9862 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.2511, allocations: 23.83 kB / 0.9862 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/0.2512, allocations: 15.98 kB / 0.9862 GB, free: 19.95 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.0002554/0.2514, allocations: 177.8 kB / 0.9864 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.128e-05/0.2515, allocations: 35.58 kB / 0.9864 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.854e-05/0.2516, allocations: 31.12 kB / 0.9864 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-06/0.2516, allocations: 8 kB / 0.9864 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2517, allocations: 0 / 0.9864 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2517, allocations: 3.938 kB / 0.9864 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.252, allocations: 297.4 kB / 0.9867 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.252, allocations: 0 / 0.9867 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.2522, allocations: 23.88 kB / 0.9868 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.2522, allocations: 3.984 kB / 0.9868 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.2522, allocations: 4 kB / 0.9868 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2522, allocations: 0 / 0.9868 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2522, allocations: 0 / 0.9868 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.2528, allocations: 212.6 kB / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.2529, allocations: 112.7 kB / 0.9871 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.253, allocations: 7.953 kB / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.2532, allocations: 11.98 kB / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/0.2533, allocations: 15.98 kB / 0.9871 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.2533, allocations: 11.98 kB / 0.9871 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000482/0.2538, allocations: 315.1 kB / 0.9874 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2538, allocations: 7.938 kB / 0.9874 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004783/0.2543, allocations: 52 kB / 0.9875 GB, free: 18.55 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.001969/0.2563, allocations: 1.058 MB / 0.9885 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006468/0.257, allocations: 195.8 kB / 0.9887 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.257, allocations: 0 / 0.9887 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.2572, allocations: 55.97 kB / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006649/0.2579, allocations: 77.39 kB / 0.9888 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.2595, allocations: 1.174 MB / 0.99 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.2599, allocations: 0.7948 MB / 0.9907 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002404/0.2601, allocations: 54.95 kB / 0.9908 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.2604, allocations: 99.39 kB / 0.9909 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/0.2604, allocations: 0 / 0.9909 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/0.2959, allocations: 6.792 MB / 0.9975 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.2962, allocations: 223.3 kB / 0.9977 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/3.13, allocations: 2.812 kB / 0.9977 GB, free: 8.223 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)