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.001211/0.001211, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00128/0.00128, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.279/1.279, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.561/1.561, allocations: 292.3 MB / 0.5486 GB, free: 13.67 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.00129/0.00129, allocations: 71.12 kB / 0.6711 GB, free: 26.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1732, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001876/0.1752, allocations: 0.7437 MB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008776/0.1761, allocations: 0.7971 MB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.1761, allocations: 4 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.1761, allocations: 4 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.543e-05/0.1762, allocations: 7.969 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.1763, allocations: 7.938 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.011e-05/0.1764, allocations: 27.92 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.075e-05/0.1765, allocations: 4 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.1766, allocations: 8 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.1766, allocations: 15.92 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1766, allocations: 4 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.1766, allocations: 0 / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.1767, allocations: 0 / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.1767, allocations: 23.91 kB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.794e-05/0.1768, allocations: 15.97 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1768, allocations: 3.938 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1768, allocations: 0 / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.1768, allocations: 0 / 0.7846 GB, free: 12.11 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.0004012/0.1772, allocations: 343.6 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1773, allocations: 12.03 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.901e-05/0.1773, allocations: 30.75 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.065e-05/0.1773, allocations: 4.938 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.169e-05/0.1774, allocations: 168.4 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.1774, allocations: 4.359 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-06/0.1774, allocations: 384 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1776, allocations: 46.25 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/0.1776, allocations: 3.938 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.1776, allocations: 0 / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1776, allocations: 3.984 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.1778, allocations: 43.84 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.178, allocations: 244.8 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1782, allocations: 42.53 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.687e-05/0.1783, allocations: 16.91 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1783, allocations: 4 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.1783, allocations: 38.56 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1783, allocations: 0 / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003038/0.1786, allocations: 81.58 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.1787, allocations: 51.41 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.42e-05/0.1787, allocations: 101.8 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.1787, allocations: 29.83 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.1788, allocations: 84.14 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.1788, allocations: 7.906 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.1788, allocations: 9.719 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.137e-05/0.1789, allocations: 314.8 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.541e-05/0.179, allocations: 19.98 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.1791, allocations: 11.98 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.1792, allocations: 48.83 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1792, allocations: 3.938 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001775/0.1794, allocations: 65.66 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1794, allocations: 4 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1794, allocations: 4 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1795, allocations: 4.031 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/0.1795, allocations: 11.98 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1796, allocations: 0 / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.1796, allocations: 11.92 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1796, allocations: 0 / 0.7864 GB, free: 10.04 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 5.762e-05/0.1797, allocations: 109.8 kB / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.1797, allocations: 4 kB / 0.7865 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.1799, allocations: 76.72 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1799, allocations: 0 / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1799, allocations: 0 / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1799, allocations: 0 / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.1801, allocations: 169.4 kB / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1801, allocations: 4 kB / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.1802, allocations: 4 kB / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1802, allocations: 4.172 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1802, allocations: 0 / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1802, allocations: 4.031 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1802, allocations: 0 / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.1804, allocations: 171.4 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.1804, allocations: 81.11 kB / 0.787 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.1805, allocations: 3.938 kB / 0.787 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.1805, allocations: 4.031 kB / 0.787 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.1806, allocations: 7.984 kB / 0.787 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1806, allocations: 0 / 0.787 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.111e-05/0.1806, allocations: 83.28 kB / 0.7871 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1806, allocations: 0 / 0.7871 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002054/0.1808, allocations: 4 kB / 0.7871 GB, free: 9.223 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.0004357/0.1813, allocations: 0.6968 MB / 0.7878 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000173/0.1814, allocations: 39.89 kB / 0.7878 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1814, allocations: 0 / 0.7878 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.699e-05/0.1815, allocations: 19.98 kB / 0.7878 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.1818, allocations: 8.156 kB / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.1821, allocations: 139 kB / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.1823, allocations: 0.6729 MB / 0.7886 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.968e-05/0.1823, allocations: 0 / 0.7886 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.1824, allocations: 15.42 kB / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1824, allocations: 0 / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1337/0.3161, allocations: 1.118 MB / 0.7897 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.3163, allocations: 210.6 kB / 0.7899 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.334, allocations: 3.938 kB / 0.7899 GB, free: 6.27 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)