Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.Sort,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",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.0009748/0.0009748, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009321/0.0009322, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.155/1.155, allocations: 205.1 MB / 222 MB, free: 4.73 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.486/1.486, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001535/0.001535, allocations: 79.25 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1685, allocations: 114.5 MB / 0.7828 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.00176/0.1703, allocations: 0.8908 MB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1713, allocations: 1.02 MB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.1713, allocations: 0 / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.381e-05/0.1714, allocations: 7.922 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.638e-05/0.1715, allocations: 15.86 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1717, allocations: 67.86 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.1719, allocations: 119.6 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.172, allocations: 53.38 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.1721, allocations: 47.77 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.1721, allocations: 55.77 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1722, allocations: 8 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.383e-05/0.1723, allocations: 59.89 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.1723, allocations: 35.84 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.1724, allocations: 47.67 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.1726, allocations: 183.7 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.1726, allocations: 11.98 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.32e-07/0.1726, allocations: 0 / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.1726, allocations: 0 / 0.7854 GB, free: 11.24 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006724/0.1733, allocations: 474.8 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.1733, allocations: 11.97 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.1733, allocations: 46.73 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.1734, allocations: 16.75 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.1735, allocations: 215.1 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.1736, allocations: 384 / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1736, allocations: 8.375 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.174, allocations: 181 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.1741, allocations: 7.938 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1741, allocations: 4 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.1741, allocations: 15.98 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006159/0.1747, allocations: 204.7 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007789/0.1755, allocations: 456.3 kB / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.1759, allocations: 142.4 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.1762, allocations: 128.8 kB / 0.7872 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.1763, allocations: 0 / 0.7872 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.1763, allocations: 30.56 kB / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.1763, allocations: 4 kB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001085/0.1774, allocations: 393.3 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.1774, allocations: 63.33 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.856e-05/0.1775, allocations: 146.2 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1775, allocations: 25.7 kB / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.1776, allocations: 104.4 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.1776, allocations: 51.36 kB / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.1777, allocations: 25.7 kB / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/0.1778, allocations: 322.8 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.1781, allocations: 111.9 kB / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.1785, allocations: 111.9 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006368/0.1791, allocations: 247.9 kB / 0.7888 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1791, allocations: 3.938 kB / 0.7888 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007063/0.1798, allocations: 281.2 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1798, allocations: 8 kB / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1799, allocations: 4 kB / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.657e-06/0.1799, allocations: 0 / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.1801, allocations: 31.95 kB / 0.7891 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1801, allocations: 11.88 kB / 0.7891 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.1803, allocations: 35.86 kB / 0.7891 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.1803, allocations: 4.234 kB / 0.7891 GB, free: 7.164 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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 8.99e-05/0.1804, allocations: 129.8 kB / 0.7892 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.1804, allocations: 7.906 kB / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.1804, allocations: 16.84 kB / 0.7893 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.1805, allocations: 7.984 kB / 0.7893 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1805, allocations: 11.94 kB / 0.7893 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-06/0.1805, allocations: 0 / 0.7893 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.1807, allocations: 229.4 kB / 0.7895 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1807, allocations: 0 / 0.7895 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.1809, allocations: 35.95 kB / 0.7895 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1809, allocations: 4 kB / 0.7895 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1809, allocations: 0 / 0.7895 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1809, allocations: 0 / 0.7895 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1809, allocations: 7.875 kB / 0.7895 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/0.1817, allocations: 371.2 kB / 0.7899 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.1817, allocations: 96.86 kB / 0.79 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.1817, allocations: 3.984 kB / 0.79 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.1819, allocations: 35.95 kB / 0.79 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.182, allocations: 15.92 kB / 0.79 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.182, allocations: 3.984 kB / 0.79 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.1821, allocations: 109.7 kB / 0.7902 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1821, allocations: 0 / 0.7902 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002496/0.1823, allocations: 40 kB / 0.7902 GB, free: 5.965 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.001034/0.1834, allocations: 0.9346 MB / 0.7911 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006927/0.1841, allocations: 251.8 kB / 0.7913 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1841, allocations: 0 / 0.7913 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.1844, allocations: 139.8 kB / 0.7915 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.1847, allocations: 30.67 kB / 0.7915 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.1876, allocations: 2.195 MB / 0.7937 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.1879, allocations: 0.716 MB / 0.7944 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.578e-05/0.188, allocations: 19.97 kB / 0.7944 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.188, allocations: 39.42 kB / 0.7944 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of SimCode: time 1.453e-06/0.188, allocations: 0 / 0.7944 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.665/0.853, allocations: 3.09 MB / 0.7974 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/0.8533, allocations: 203.8 kB / 0.7976 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.821, allocations: 4 kB / 0.7976 GB, free: 14.29 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)