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.001097/0.001097, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.493/1.493, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.761/1.761, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001495/0.001496, allocations: 78.91 kB / 0.6716 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2561, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002552/0.2587, allocations: 0.8414 MB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.2605, allocations: 0.9956 MB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.2605, allocations: 8 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.2607, allocations: 15.86 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.134e-05/0.2608, allocations: 19.73 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.2613, allocations: 87.83 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.2614, allocations: 119.6 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.2617, allocations: 53.38 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.2618, allocations: 55.83 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.2619, allocations: 55.77 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.2619, allocations: 8 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.262, allocations: 67.89 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.2621, allocations: 39.91 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.2622, allocations: 51.61 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.2624, allocations: 187.7 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2624, allocations: 0 / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.677e-06/0.2625, allocations: 3.984 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.2625, allocations: 0 / 0.786 GB, free: 10.76 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.0008716/0.2634, allocations: 482.8 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.2634, allocations: 11.97 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.2635, allocations: 42.73 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.2635, allocations: 16.75 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.2638, allocations: 204 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2638, allocations: 4.375 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.2638, allocations: 12.38 kB / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005516/0.2644, allocations: 181.4 kB / 0.7869 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.2644, allocations: 7.938 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2644, allocations: 4 kB / 0.787 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.2645, allocations: 11.98 kB / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007193/0.2652, allocations: 207.7 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.2662, allocations: 456.3 kB / 0.7876 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.2667, allocations: 142.4 kB / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.2671, allocations: 128.8 kB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.2671, allocations: 4 kB / 0.7879 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.2671, allocations: 34.56 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 2.254e-06/0.2671, allocations: 0 / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001287/0.2684, allocations: 397.2 kB / 0.7883 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.2685, allocations: 59.39 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2686, allocations: 148.6 kB / 0.7885 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2687, allocations: 33.7 kB / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.2687, allocations: 104.4 kB / 0.7886 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.2688, allocations: 51.36 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.2688, allocations: 25.7 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.269, allocations: 322.8 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.2693, allocations: 111.9 kB / 0.7891 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.2697, allocations: 107.9 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007084/0.2704, allocations: 243.2 kB / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2704, allocations: 0 / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008043/0.2712, allocations: 289.2 kB / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2713, allocations: 4 kB / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.2713, allocations: 0 / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2713, allocations: 0 / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.2716, allocations: 39.95 kB / 0.7897 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.2716, allocations: 7.875 kB / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.2718, allocations: 31.86 kB / 0.7898 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.2718, allocations: 4 kB / 0.7898 GB, free: 6.684 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 0.0001334/0.272, allocations: 129.8 kB / 0.7899 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.272, allocations: 7.906 kB / 0.7899 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.2721, allocations: 12.84 kB / 0.7899 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.2721, allocations: 15.98 kB / 0.7899 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2721, allocations: 3.938 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.2721, allocations: 0 / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.2724, allocations: 233.4 kB / 0.7902 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2724, allocations: 0 / 0.7902 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.2726, allocations: 39.95 kB / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2726, allocations: 0 / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.2726, allocations: 0 / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2727, allocations: 3.938 kB / 0.7902 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2727, allocations: 7.938 kB / 0.7902 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008267/0.2735, allocations: 374.3 kB / 0.7906 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.2736, allocations: 92.86 kB / 0.7907 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.2736, allocations: 7.984 kB / 0.7907 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.2738, allocations: 31.95 kB / 0.7907 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.2739, allocations: 15.92 kB / 0.7907 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.2739, allocations: 0 / 0.7907 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.033e-05/0.274, allocations: 115.2 kB / 0.7908 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.6e-07/0.274, allocations: 0 / 0.7908 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003183/0.2743, allocations: 32 kB / 0.7909 GB, free: 5.488 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.001407/0.2757, allocations: 0.9463 MB / 0.7918 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008691/0.2766, allocations: 259.7 kB / 0.792 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2766, allocations: 0 / 0.792 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.277, allocations: 135.9 kB / 0.7922 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.2775, allocations: 24.62 kB / 0.7922 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.2812, allocations: 2.167 MB / 0.7943 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.2815, allocations: 0.7236 MB / 0.795 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.339e-05/0.2816, allocations: 19.91 kB / 0.795 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.2817, allocations: 39.42 kB / 0.7951 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.2817, allocations: 0 / 0.7951 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.3039, allocations: 3.51 MB / 0.7985 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/7.927, allocations: 6.281 kB / 0.7985 GB, free: 13.63 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)