Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009366/0.0009366, allocations: 91.53 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005224/0.005224, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.636/1.636, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005146/0.0005146, allocations: 15.31 kB / 0.6745 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2255, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.0009063/0.2265, allocations: 402.7 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009417/0.2275, allocations: 0.801 MB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.2275, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.359e-05/0.2275, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.21e-05/0.2276, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.2277, allocations: 19.91 kB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.085e-05/0.2278, allocations: 23.94 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.669e-05/0.2279, allocations: 11.98 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.149e-05/0.228, allocations: 0 / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.228, allocations: 15.92 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.228, allocations: 0 / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.2281, allocations: 7.938 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.2281, allocations: 0 / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.2281, allocations: 33.64 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.645e-05/0.2282, allocations: 19.94 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2282, allocations: 4 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2282, allocations: 4 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2282, allocations: 0 / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004027/0.2286, allocations: 343.7 kB / 0.7896 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2287, allocations: 8.031 kB / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.2287, allocations: 38.69 kB / 0.7897 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.077e-05/0.2287, allocations: 0.9375 kB / 0.7897 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2289, allocations: 164.4 kB / 0.7898 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.2289, allocations: 4.375 kB / 0.7899 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.2289, allocations: 384 / 0.7899 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.2291, allocations: 54.23 kB / 0.7899 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2291, allocations: 3.938 kB / 0.7899 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2291, allocations: 4 kB / 0.7899 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2291, allocations: 0 / 0.7899 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.2293, allocations: 55.83 kB / 0.79 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.2296, allocations: 241 kB / 0.7902 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.2297, allocations: 46.5 kB / 0.7902 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-05/0.2298, allocations: 32.89 kB / 0.7903 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.2299, allocations: 0 / 0.7903 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.2299, allocations: 30.56 kB / 0.7903 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.033e-06/0.2299, allocations: 7.938 kB / 0.7903 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003521/0.2303, allocations: 101.5 kB / 0.7904 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.2303, allocations: 51.53 kB / 0.7905 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.2304, allocations: 102 kB / 0.7906 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2304, allocations: 25.7 kB / 0.7906 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.2304, allocations: 84.12 kB / 0.7907 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.2305, allocations: 7.906 kB / 0.7907 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.2305, allocations: 9.719 kB / 0.7907 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.2306, allocations: 314.8 kB / 0.791 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.2307, allocations: 23.98 kB / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.2308, allocations: 23.97 kB / 0.791 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.2309, allocations: 52.83 kB / 0.7911 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/0.231, allocations: 3.938 kB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002017/0.2312, allocations: 73.66 kB / 0.7911 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2312, allocations: 8 kB / 0.7912 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.2312, allocations: 32 / 0.7912 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2312, allocations: 8.031 kB / 0.7912 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.759e-05/0.2313, allocations: 11.98 kB / 0.7912 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2313, allocations: 0 / 0.7912 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.2314, allocations: 8 kB / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.2314, allocations: 0 / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.83e-05/0.2315, allocations: 117.7 kB / 0.7913 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.2315, allocations: 11.98 kB / 0.7913 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.2317, allocations: 80.72 kB / 0.7914 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2317, allocations: 0 / 0.7914 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2317, allocations: 0 / 0.7914 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2318, allocations: 0 / 0.7914 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.2319, allocations: 165.6 kB / 0.7915 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2319, allocations: 0 / 0.7915 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/0.232, allocations: 11.98 kB / 0.7915 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.232, allocations: 0 / 0.7915 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.232, allocations: 0 / 0.7915 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.232, allocations: 4 kB / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.232, allocations: 0 / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.2323, allocations: 183.3 kB / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.2323, allocations: 77.11 kB / 0.7918 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.2323, allocations: 7.938 kB / 0.7918 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.2324, allocations: 11.98 kB / 0.7918 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.2324, allocations: 4.031 kB / 0.7918 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.2325, allocations: 4 kB / 0.7918 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.505e-05/0.2325, allocations: 83.27 kB / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2325, allocations: 0 / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000207/0.2327, allocations: 4 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004976/0.2332, allocations: 0.7046 MB / 0.7926 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.2334, allocations: 55.92 kB / 0.7927 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2334, allocations: 0 / 0.7927 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/0.2335, allocations: 23.98 kB / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.2338, allocations: 4 kB / 0.7927 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.2342, allocations: 142.4 kB / 0.7928 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.2344, allocations: 0.6808 MB / 0.7935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.964e-05/0.2344, allocations: 0 / 0.7935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.2345, allocations: 11.44 kB / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of SimCode: time 4.1e-07/0.2345, allocations: 0 / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009463/0.2439, allocations: 1.021 MB / 0.7945 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.2441, allocations: 201.9 kB / 0.7947 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/1.796, allocations: 0 / 0.7947 GB, free: 4.234 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)