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.309/1.309, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008555/0.0008555, allocations: 175.5 kB / 325.8 MB, free: 2.711 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.504/1.504, allocations: 205 MB / 0.576 GB, free: 21.02 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.0007416/0.0007416, allocations: 89.05 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003527, allocations: 14.83 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1932, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001352/0.1946, allocations: 1.113 MB / 0.8973 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002887/0.1949, allocations: 124.5 kB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.195, allocations: 0 / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.195, allocations: 4 kB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.255e-05/0.1951, allocations: 3.984 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.1952, allocations: 11.94 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.519e-05/0.1953, allocations: 15.98 kB / 0.8975 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.399e-05/0.1954, allocations: 8.812 kB / 0.8975 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.1955, allocations: 11.92 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.874e-05/0.1955, allocations: 4 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1955, allocations: 4 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-06/0.1955, allocations: 3.938 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.1956, allocations: 7.984 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.1956, allocations: 7.938 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.96e-05/0.1957, allocations: 24.17 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1957, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1957, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.1957, allocations: 0 / 0.8975 GB, free: 66.75 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.000334/0.196, allocations: 339.5 kB / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1961, allocations: 8.031 kB / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.1961, allocations: 34.75 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.262e-05/0.1961, allocations: 4.938 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.922e-05/0.1962, allocations: 168.3 kB / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.1962, allocations: 384 / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.1962, allocations: 4.375 kB / 0.8981 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1964, allocations: 58.22 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1964, allocations: 3.938 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.1964, allocations: 4 kB / 0.8981 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1964, allocations: 0 / 0.8981 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.1966, allocations: 43.91 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.1968, allocations: 245 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.197, allocations: 46.5 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.753e-05/0.197, allocations: 28.91 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1971, allocations: 0 / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.1971, allocations: 38.55 kB / 0.8985 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1971, allocations: 7.938 kB / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003041/0.1974, allocations: 93.75 kB / 0.8986 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.1974, allocations: 55.34 kB / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.271e-05/0.1975, allocations: 97.84 kB / 0.8988 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.1975, allocations: 29.7 kB / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.45e-05/0.1975, allocations: 84.14 kB / 0.8989 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.1975, allocations: 11.78 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.1976, allocations: 9.719 kB / 0.8989 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.1976, allocations: 318.8 kB / 0.8992 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.1977, allocations: 24.02 kB / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.437e-05/0.1978, allocations: 19.98 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.1979, allocations: 60.81 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1979, allocations: 3.938 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001679/0.1981, allocations: 73.67 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1981, allocations: 4 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1981, allocations: 0 / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1981, allocations: 0 / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.245e-05/0.1982, allocations: 11.98 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1982, allocations: 8 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.1983, allocations: 7.984 kB / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1983, allocations: 0 / 0.8994 GB, free: 64.6 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.1983, allocations: 117.8 kB / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.1984, allocations: 7.906 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.1986, allocations: 80.72 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1986, allocations: 4.031 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1986, allocations: 0 / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1986, allocations: 0 / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.1987, allocations: 161.6 kB / 0.8997 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1987, allocations: 0 / 0.8997 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.1988, allocations: 11.98 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1988, allocations: 4 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.1988, allocations: 0 / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1988, allocations: 0 / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1988, allocations: 0 / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.199, allocations: 179.4 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.199, allocations: 81.11 kB / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1991, allocations: 4.031 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.1991, allocations: 7.984 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.1992, allocations: 7.938 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1992, allocations: 0 / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.373e-05/0.1992, allocations: 91.45 kB / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1992, allocations: 0 / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001887/0.1994, allocations: 4 kB / 0.9001 GB, free: 63.75 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 (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.0004158/0.1999, allocations: 0.7123 MB / 0.9008 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.2, allocations: 47.94 kB / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2001, allocations: 0 / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.2001, allocations: 31.98 kB / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.2004, allocations: 9.078 kB / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.2008, allocations: 129 kB / 0.901 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.201, allocations: 0.677 MB / 0.9017 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.201, allocations: 0 / 0.9017 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.201, allocations: 11.44 kB / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.201, allocations: 0 / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009903/0.2109, allocations: 1.028 MB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.2112, allocations: 210.3 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.438/1.649, allocations: 4 kB / 0.9029 GB, free: 60.91 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)