Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.0008486/0.0008487, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004841/0.004841, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.192/1.192, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.558/1.558, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0004625/0.0004625, allocations: 14.34 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1669, allocations: 116.3 MB / 0.788 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0007107/0.1676, allocations: 446.5 kB / 0.7884 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006834/0.1683, allocations: 0.7971 MB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.1684, allocations: 8 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.1684, allocations: 11.86 kB / 0.7892 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.777e-05/0.1685, allocations: 3.938 kB / 0.7892 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.518e-05/0.1685, allocations: 11.98 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.086e-05/0.1686, allocations: 39.92 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.035e-05/0.1687, allocations: 11.98 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.1687, allocations: 19.88 kB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.1688, allocations: 19.91 kB / 0.7893 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1688, allocations: 4 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-06/0.1688, allocations: 4 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.1688, allocations: 11.92 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.1689, allocations: 41.62 kB / 0.7894 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.509e-05/0.1689, allocations: 39.8 kB / 0.7894 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1689, allocations: 0 / 0.7894 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.169, allocations: 0 / 0.7894 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.169, allocations: 0 / 0.7894 GB, free: 9.934 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004079/0.1694, allocations: 371.7 kB / 0.7898 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1694, allocations: 12.03 kB / 0.7898 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.1695, allocations: 34.73 kB / 0.7898 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.12e-05/0.1695, allocations: 8.844 kB / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.648e-05/0.1696, allocations: 172.2 kB / 0.79 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.1696, allocations: 4.375 kB / 0.79 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.1696, allocations: 384 / 0.79 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.1698, allocations: 86.16 kB / 0.7901 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1698, allocations: 3.938 kB / 0.7901 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.1699, allocations: 3.984 kB / 0.7901 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.1699, allocations: 0 / 0.7901 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.1702, allocations: 87.88 kB / 0.7902 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.1704, allocations: 276.9 kB / 0.7905 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1706, allocations: 66.48 kB / 0.7905 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.1708, allocations: 56.91 kB / 0.7906 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.1708, allocations: 0 / 0.7906 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.1708, allocations: 30.56 kB / 0.7906 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.1709, allocations: 4 kB / 0.7906 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005095/0.1714, allocations: 165.5 kB / 0.7908 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.1714, allocations: 51.41 kB / 0.7908 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.1715, allocations: 117.8 kB / 0.7909 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.1715, allocations: 25.7 kB / 0.791 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.1715, allocations: 92.12 kB / 0.791 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.1716, allocations: 15.84 kB / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.1716, allocations: 9.719 kB / 0.7911 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.1717, allocations: 318.8 kB / 0.7914 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.1718, allocations: 43.91 kB / 0.7914 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.172, allocations: 47.95 kB / 0.7915 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.1722, allocations: 89.08 kB / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1722, allocations: 0 / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003138/0.1726, allocations: 133.5 kB / 0.7917 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.1726, allocations: 7.938 kB / 0.7917 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1726, allocations: 0 / 0.7917 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.1726, allocations: 4 kB / 0.7917 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1727, allocations: 19.98 kB / 0.7917 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1727, allocations: 0 / 0.7917 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.843e-05/0.1728, allocations: 19.98 kB / 0.7917 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1728, allocations: 0 / 0.7917 GB, free: 7.367 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 (3): * Single equations (assignments): 3 * 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.855e-05/0.1729, allocations: 121.8 kB / 0.7918 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.1729, allocations: 0 / 0.7918 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.965e-05/0.1729, allocations: 11.89 kB / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.173, allocations: 0 / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.173, allocations: 0 / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.173, allocations: 384 / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.1731, allocations: 173.5 kB / 0.792 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1731, allocations: 3.984 kB / 0.792 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.547e-05/0.1732, allocations: 27.98 kB / 0.792 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1732, allocations: 3.938 kB / 0.792 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1732, allocations: 4 kB / 0.7921 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1732, allocations: 0 / 0.7921 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1732, allocations: 0 / 0.7921 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.1736, allocations: 215.4 kB / 0.7923 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.1736, allocations: 85 kB / 0.7923 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1737, allocations: 8 kB / 0.7923 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1738, allocations: 15.98 kB / 0.7924 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.1738, allocations: 4 kB / 0.7924 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1738, allocations: 3.984 kB / 0.7924 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.576e-05/0.1739, allocations: 87.28 kB / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1739, allocations: 0 / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002003/0.1741, allocations: 8 kB / 0.7925 GB, free: 6.512 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 (3): * Single equations (assignments): 3 * 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.0005541/0.1746, allocations: 0.7553 MB / 0.7932 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003136/0.1749, allocations: 87.92 kB / 0.7933 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.175, allocations: 3.938 kB / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.1751, allocations: 55.95 kB / 0.7933 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.1754, allocations: 4 kB / 0.7933 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.1757, allocations: 178.2 kB / 0.7935 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.1759, allocations: 0.6809 MB / 0.7942 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.1759, allocations: 4 kB / 0.7942 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.176, allocations: 11.44 kB / 0.7942 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.176, allocations: 0 / 0.7942 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.354/1.53, allocations: 1.354 MB / 0.7955 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/1.53, allocations: 197.8 kB / 0.7957 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/3.347, allocations: 3.938 kB / 0.7957 GB, free: 3.156 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)