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.001026/0.001026, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.0009463/0.0009463, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.347/2.347, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.76/1.76, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0005457/0.0005458, allocations: 22.38 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2763, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.0007778/0.2772, allocations: 397 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007588/0.2779, allocations: 0.8027 MB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.278, allocations: 0 / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.278, allocations: 3.984 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.2781, allocations: 4 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.428e-05/0.2782, allocations: 4 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.886e-05/0.2782, allocations: 19.91 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.769e-05/0.2783, allocations: 7.938 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/0.2783, allocations: 0 / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.034e-05/0.2784, allocations: 15.92 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.2784, allocations: 4 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-06/0.2784, allocations: 4 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.654e-06/0.2784, allocations: 0 / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.2785, allocations: 25.7 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.624e-05/0.2785, allocations: 23.95 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.2785, allocations: 0 / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2785, allocations: 0 / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.2785, allocations: 0 / 0.7885 GB, free: 10.57 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.0003597/0.2789, allocations: 339.5 kB / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.279, allocations: 12.03 kB / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.279, allocations: 38.55 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.674e-05/0.279, allocations: 0 / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.748e-05/0.2791, allocations: 163 kB / 0.789 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2791, allocations: 7.938 kB / 0.7891 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.2792, allocations: 0 / 0.7891 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.2793, allocations: 57.67 kB / 0.7891 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.2793, allocations: 0 / 0.7891 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.2793, allocations: 3.984 kB / 0.7891 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2793, allocations: 0 / 0.7891 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.2795, allocations: 43.95 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.2798, allocations: 248.9 kB / 0.7894 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.2799, allocations: 46.5 kB / 0.7894 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.2799, allocations: 0 / 0.7894 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.28, allocations: 38.5 kB / 0.7895 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.28, allocations: 0 / 0.7895 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000327/0.2803, allocations: 97.61 kB / 0.7896 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.2804, allocations: 59.53 kB / 0.7896 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.2804, allocations: 105.8 kB / 0.7897 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.2804, allocations: 25.7 kB / 0.7897 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.2805, allocations: 80.14 kB / 0.7898 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.2805, allocations: 3.906 kB / 0.7898 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.2805, allocations: 4 kB / 0.7898 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.2806, allocations: 322.8 kB / 0.7901 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.823e-05/0.2807, allocations: 19.98 kB / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.167e-05/0.2808, allocations: 23.98 kB / 0.7902 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.571e-05/0.2808, allocations: 15.98 kB / 0.7902 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2809, allocations: 4.062 kB / 0.7902 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.281, allocations: 77.66 kB / 0.7903 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2811, allocations: 4 kB / 0.7903 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2811, allocations: 3.938 kB / 0.7903 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.2811, allocations: 0 / 0.7903 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.2812, allocations: 16.02 kB / 0.7903 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.2812, allocations: 0 / 0.7903 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.2812, allocations: 8 kB / 0.7903 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.2813, allocations: 7.922 kB / 0.7903 GB, free: 8.504 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.7e-05/0.2813, allocations: 113.8 kB / 0.7904 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.2814, allocations: 8 kB / 0.7904 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.2816, allocations: 84.78 kB / 0.7905 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2816, allocations: 0 / 0.7905 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2816, allocations: 0 / 0.7905 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2816, allocations: 0 / 0.7905 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.2818, allocations: 165.5 kB / 0.7907 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2818, allocations: 0 / 0.7907 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.2818, allocations: 12.03 kB / 0.7907 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2818, allocations: 0 / 0.7907 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.2818, allocations: 0 / 0.7907 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2818, allocations: 4 kB / 0.7907 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2819, allocations: 3.984 kB / 0.7907 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.2821, allocations: 175.3 kB / 0.7909 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.2821, allocations: 85.03 kB / 0.7909 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.2821, allocations: 4 kB / 0.7909 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.2822, allocations: 8 kB / 0.7909 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.2823, allocations: 3.984 kB / 0.791 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.2823, allocations: 4.031 kB / 0.791 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.902e-05/0.2823, allocations: 79.28 kB / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2823, allocations: 0 / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001992/0.2825, allocations: 4 kB / 0.791 GB, free: 7.66 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 (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.0004744/0.283, allocations: 0.7124 MB / 0.7917 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.2832, allocations: 51.98 kB / 0.7918 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.2832, allocations: 0 / 0.7918 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.2833, allocations: 23.98 kB / 0.7918 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.2835, allocations: 0 / 0.7918 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.2838, allocations: 138.5 kB / 0.7919 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.2841, allocations: 0.6848 MB / 0.7926 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.957e-05/0.2841, allocations: 0 / 0.7926 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.2841, allocations: 15.42 kB / 0.7926 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2841, allocations: 0 / 0.7926 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4378/0.7219, allocations: 1 MB / 0.7936 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.7221, allocations: 182.6 kB / 0.7938 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.627, allocations: 0 / 0.7938 GB, free: 4.832 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/linux/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) Environment - environmentSimulation: