Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",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.615/2.615, allocations: 287.5 MB / 302.4 MB, free: 8.328 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.001301/0.001301, allocations: 191 kB / 371 MB, free: 10.84 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.236/2.236, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009356/0.0009354, allocations: 89.86 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004632/0.0004634, allocations: 11.42 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2472, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001008/0.2483, allocations: 341.9 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000707/0.249, allocations: 184.4 kB / 0.979 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.2491, allocations: 0 / 0.979 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.834e-05/0.2492, allocations: 3.938 kB / 0.979 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.2493, allocations: 8 kB / 0.979 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.2496, allocations: 35.89 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.2498, allocations: 47.91 kB / 0.9791 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2499, allocations: 8 kB / 0.9791 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.25, allocations: 19.92 kB / 0.9791 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.159e-05/0.2501, allocations: 27.84 kB / 0.9791 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.2501, allocations: 4 kB / 0.9791 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.447e-05/0.2502, allocations: 4 kB / 0.9791 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.2502, allocations: 15.92 kB / 0.9791 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.2503, allocations: 33.7 kB / 0.9792 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.2504, allocations: 55.88 kB / 0.9792 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2505, allocations: 0 / 0.9792 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2505, allocations: 3.938 kB / 0.9792 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2505, allocations: 0 / 0.9792 GB, free: 27.46 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006903/0.2512, allocations: 389.1 kB / 0.9796 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.2513, allocations: 12.02 kB / 0.9796 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.2513, allocations: 38.55 kB / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.2514, allocations: 11.91 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.2516, allocations: 186.9 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.2517, allocations: 8 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.2517, allocations: 4 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.252, allocations: 85.64 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2521, allocations: 0 / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.2521, allocations: 0 / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.2521, allocations: 3.938 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.2523, allocations: 43.97 kB / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009423/0.2533, allocations: 352.6 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.2537, allocations: 114.5 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.2539, allocations: 60.86 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.2539, allocations: 0 / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.2542, allocations: 95.31 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.487e-06/0.2543, allocations: 0 / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005507/0.2548, allocations: 149.5 kB / 0.9807 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.2549, allocations: 67.72 kB / 0.9808 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.2551, allocations: 117.8 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2551, allocations: 25.7 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.2552, allocations: 100 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.2552, allocations: 11.75 kB / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.2552, allocations: 12 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.47e-05/0.2553, allocations: 318.8 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.2554, allocations: 35.98 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.2556, allocations: 62.58 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.2557, allocations: 35.92 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2558, allocations: 0 / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003849/0.2562, allocations: 137.6 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.2562, allocations: 8.031 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2562, allocations: 0 / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2562, allocations: 0 / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.2564, allocations: 11.98 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.2564, allocations: 3.953 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.2566, allocations: 7.938 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.2568, allocations: 27.95 kB / 0.9816 GB, free: 24.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: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001458/0.2569, allocations: 127.1 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.257, allocations: 11.91 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.257, allocations: 8.375 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2571, allocations: 4 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2571, allocations: 0 / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.2571, allocations: 3.953 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007274/0.2578, allocations: 406.5 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2579, allocations: 0 / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.2579, allocations: 4 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.2579, allocations: 0 / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.258, allocations: 8 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.258, allocations: 4.031 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.258, allocations: 3.984 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.2584, allocations: 219.4 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.2585, allocations: 85.11 kB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.2585, allocations: 3.938 kB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.2587, allocations: 7.984 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.2588, allocations: 11.95 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.019e-05/0.2589, allocations: 39.88 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.61e-05/0.259, allocations: 99.2 kB / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.81e-07/0.259, allocations: 0 / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006638/0.2597, allocations: 19.94 kB / 0.9827 GB, free: 23.59 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 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007351/0.2605, allocations: 0.7524 MB / 0.9834 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003739/0.2609, allocations: 87.89 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2609, allocations: 4 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.2611, allocations: 47.91 kB / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.2622, allocations: 55.89 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.264, allocations: 0.6467 MB / 0.9842 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.2642, allocations: 0.6965 MB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001336/0.2644, allocations: 16.56 kB / 0.9849 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.427e-05/0.2645, allocations: 24.42 kB / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.553e-06/0.2645, allocations: 0 / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.2887, allocations: 2.528 MB / 0.9874 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.289, allocations: 203.7 kB / 0.9876 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/2.903, allocations: 0 / 0.9876 GB, free: 18.55 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)