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.0006994/0.0006995, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007629/0.0007628, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.228/1.228, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.653/1.653, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.000619/0.000619, allocations: 21.72 kB / 0.6739 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2067, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.0008675/0.2076, allocations: 398.7 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.2086, allocations: 0.8049 MB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.2086, allocations: 0 / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.2087, allocations: 0 / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.668e-05/0.2087, allocations: 3.938 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.2089, allocations: 11.98 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.834e-05/0.2089, allocations: 15.98 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.826e-05/0.209, allocations: 3.938 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.2091, allocations: 8 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.913e-05/0.2092, allocations: 19.91 kB / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.2092, allocations: 0 / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-06/0.2092, allocations: 0 / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.2092, allocations: 4 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.2092, allocations: 29.7 kB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.497e-05/0.2093, allocations: 11.97 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2093, allocations: 0 / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2093, allocations: 0 / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2093, allocations: 0 / 0.7887 GB, free: 10.5 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.0004173/0.2097, allocations: 351.5 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.2098, allocations: 8.031 kB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.2099, allocations: 34.55 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.2099, allocations: 4 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.21, allocations: 163 kB / 0.7892 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.21, allocations: 3.938 kB / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.2101, allocations: 7.938 kB / 0.7892 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.2103, allocations: 61.66 kB / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2103, allocations: 0 / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2103, allocations: 0 / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2103, allocations: 0 / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.2105, allocations: 43.95 kB / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.2108, allocations: 248.9 kB / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.2109, allocations: 42.5 kB / 0.7896 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.211, allocations: 32.91 kB / 0.7897 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.211, allocations: 7.922 kB / 0.7897 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.2111, allocations: 30.56 kB / 0.7897 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2111, allocations: 4 kB / 0.7897 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003301/0.2114, allocations: 101.5 kB / 0.7898 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.2114, allocations: 51.41 kB / 0.7898 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.916e-05/0.2115, allocations: 101.8 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.2115, allocations: 25.7 kB / 0.79 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.2116, allocations: 84.14 kB / 0.79 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.2116, allocations: 4.031 kB / 0.79 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.2116, allocations: 4 kB / 0.79 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.2117, allocations: 322.8 kB / 0.7904 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.125e-05/0.2118, allocations: 19.98 kB / 0.7904 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/0.2119, allocations: 19.98 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.917e-05/0.2119, allocations: 24.05 kB / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.212, allocations: 0 / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001765/0.2121, allocations: 77.66 kB / 0.7905 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2122, allocations: 6.812 kB / 0.7905 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2122, allocations: 0 / 0.7905 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2122, allocations: 0 / 0.7905 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.2123, allocations: 15.98 kB / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2123, allocations: 0 / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.2123, allocations: 11.92 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.2124, allocations: 0 / 0.7905 GB, free: 8.398 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 7.202e-05/0.2124, allocations: 121.8 kB / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.2125, allocations: 0 / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.2127, allocations: 80.78 kB / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2127, allocations: 7.969 kB / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.2127, allocations: 0 / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2127, allocations: 0 / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.2129, allocations: 165.5 kB / 0.7909 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2129, allocations: 4 kB / 0.7909 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.2129, allocations: 11.98 kB / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2129, allocations: 0 / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2129, allocations: 0 / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.213, allocations: 4 kB / 0.7909 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.213, allocations: 0 / 0.7909 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.2132, allocations: 179.3 kB / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/0.2132, allocations: 81.11 kB / 0.7911 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.2132, allocations: 0 / 0.7911 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.2133, allocations: 16.02 kB / 0.7912 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.2134, allocations: 4 kB / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.2134, allocations: 0 / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.637e-05/0.2134, allocations: 83.41 kB / 0.7912 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2134, allocations: 0 / 0.7912 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000206/0.2136, allocations: 4 kB / 0.7913 GB, free: 7.547 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.0005093/0.2141, allocations: 0.7124 MB / 0.7919 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001853/0.2143, allocations: 44 kB / 0.792 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2143, allocations: 0 / 0.792 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/0.2144, allocations: 23.98 kB / 0.792 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.2147, allocations: 12.11 kB / 0.792 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.2151, allocations: 134.3 kB / 0.7922 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.2153, allocations: 0.6772 MB / 0.7928 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.21e-05/0.2154, allocations: 3.938 kB / 0.7928 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.2154, allocations: 15.44 kB / 0.7928 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2154, allocations: 0 / 0.7928 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009859/0.2253, allocations: 1.01 MB / 0.7938 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.2255, allocations: 194.6 kB / 0.794 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.843, allocations: 0 / 0.794 GB, free: 4.707 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: