Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.567/1.567, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 179.8 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009179/0.0009178, allocations: 91.88 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 12.28 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2195, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001683/0.2212, allocations: 1.093 MB / 0.9012 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002895/0.2215, allocations: 117.9 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.2216, allocations: 3.938 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.2216, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.2217, allocations: 7.922 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.2218, allocations: 8 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.646e-05/0.2219, allocations: 11.98 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.969e-05/0.222, allocations: 3.984 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.011e-05/0.222, allocations: 11.98 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.2221, allocations: 15.88 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.2221, allocations: 0 / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.2221, allocations: 0 / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.2221, allocations: 7.984 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.2222, allocations: 25.7 kB / 0.9014 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.33e-05/0.2222, allocations: 15.97 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2222, allocations: 0 / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2222, allocations: 0 / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.2222, allocations: 0 / 0.9015 GB, free: 62.46 MB / 0.6042 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.0003648/0.2226, allocations: 335.4 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2227, allocations: 8.031 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.2227, allocations: 34.5 kB / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.2227, allocations: 4 kB / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.09e-05/0.2228, allocations: 167.2 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.2228, allocations: 4 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.2229, allocations: 4 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.223, allocations: 57.67 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2231, allocations: 0 / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2231, allocations: 0 / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2231, allocations: 0 / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.2233, allocations: 51.94 kB / 0.9021 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.2236, allocations: 256.8 kB / 0.9023 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.2238, allocations: 42.55 kB / 0.9024 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2238, allocations: 0 / 0.9024 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.2238, allocations: 38.62 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2238, allocations: 0 / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003534/0.2242, allocations: 101.7 kB / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.2242, allocations: 51.41 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.2243, allocations: 93.86 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.2243, allocations: 29.7 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.2244, allocations: 84.14 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.2244, allocations: 7.891 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.2244, allocations: 0 / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.091e-05/0.2245, allocations: 314.8 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.946e-05/0.2246, allocations: 28.02 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.2247, allocations: 19.92 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.791e-05/0.2247, allocations: 35.97 kB / 0.9031 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2248, allocations: 0 / 0.9031 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00019/0.225, allocations: 69.67 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.225, allocations: 7.938 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.225, allocations: 4 kB / 0.9032 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.225, allocations: 4.031 kB / 0.9032 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.725e-05/0.2251, allocations: 11.98 kB / 0.9032 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2251, allocations: 0 / 0.9032 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.2252, allocations: 7.984 kB / 0.9032 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.2252, allocations: 4 kB / 0.9033 GB, free: 60.39 MB / 0.6042 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.343e-05/0.2253, allocations: 113.8 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.2253, allocations: 7.906 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.2255, allocations: 76.78 kB / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2255, allocations: 0 / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2256, allocations: 0 / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.2256, allocations: 4 kB / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.2257, allocations: 165.6 kB / 0.9036 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2257, allocations: 0 / 0.9036 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.2258, allocations: 19.92 kB / 0.9036 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2258, allocations: 0 / 0.9036 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.2258, allocations: 0 / 0.9036 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2258, allocations: 0 / 0.9036 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2258, allocations: 0 / 0.9036 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.226, allocations: 179.5 kB / 0.9038 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.2261, allocations: 77.11 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.2261, allocations: 0 / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.2262, allocations: 11.98 kB / 0.9039 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.2262, allocations: 8.031 kB / 0.9039 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.2262, allocations: 0 / 0.9039 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.925e-05/0.2262, allocations: 79.28 kB / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2263, allocations: 0 / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002023/0.2265, allocations: 4 kB / 0.904 GB, free: 59.56 MB / 0.6042 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.0004003/0.2269, allocations: 0.7124 MB / 0.9047 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001853/0.2271, allocations: 48 kB / 0.9047 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2271, allocations: 0 / 0.9047 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.2272, allocations: 27.92 kB / 0.9047 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.2273, allocations: 7.922 kB / 0.9047 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.2277, allocations: 154.3 kB / 0.9049 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.2279, allocations: 0.6809 MB / 0.9056 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.2279, allocations: 0 / 0.9056 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.2279, allocations: 7.438 kB / 0.9056 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2279, allocations: 0 / 0.9056 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01077/0.2387, allocations: 0.9988 MB / 0.9065 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.2389, allocations: 189.9 kB / 0.9067 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/1.694, allocations: 0 / 0.9067 GB, free: 56.75 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)