Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.MultiMax,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.001627/0.001627, allocations: 109.4 kB / 15.69 MB, free: 128 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.00298/0.00298, allocations: 188.5 kB / 16.62 MB, free: 6.613 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.551/1.551, allocations: 205.1 MB / 222.5 MB, free: 4.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.701/1.701, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001438/0.001438, allocations: 69.89 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2591, allocations: 114.5 MB / 0.7836 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002494/0.2616, allocations: 0.6553 MB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002052/0.2618, allocations: 11.97 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.2619, allocations: 7.938 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.262, allocations: 0 / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.811e-05/0.2621, allocations: 7.938 kB / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.447e-05/0.2622, allocations: 0 / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2623, allocations: 23.98 kB / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.2625, allocations: 31.98 kB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.2625, allocations: 15.92 kB / 0.7844 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.318e-05/0.2626, allocations: 11.94 kB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.2626, allocations: 11.92 kB / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.2626, allocations: 4 kB / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.2627, allocations: 7.984 kB / 0.7844 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.2627, allocations: 19.88 kB / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.2628, allocations: 55.75 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2628, allocations: 0 / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2628, allocations: 4 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2628, allocations: 0 / 0.7845 GB, free: 12.32 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004404/0.2633, allocations: 343.6 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2633, allocations: 12.03 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.2634, allocations: 34.73 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.2634, allocations: 4.938 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.2636, allocations: 188.2 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.2636, allocations: 8.312 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.2637, allocations: 8.375 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.2638, allocations: 78.17 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2639, allocations: 3.938 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2639, allocations: 0 / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.2639, allocations: 0 / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.264, allocations: 51.95 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007243/0.2647, allocations: 491.1 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.2649, allocations: 169.1 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.265, allocations: 80.14 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.265, allocations: 75.28 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/0.2651, allocations: 109.8 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.2651, allocations: 0 / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.103e-05/0.2652, allocations: 41.55 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.2652, allocations: 130.6 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.2654, allocations: 173.2 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.2654, allocations: 25.7 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.2656, allocations: 100.1 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-06/0.2656, allocations: 3.938 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.2657, allocations: 17.83 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2658, allocations: 318.8 kB / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.2658, allocations: 15.98 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/0.2658, allocations: 4 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.93e-05/0.2659, allocations: 20.84 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2659, allocations: 3.938 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001307/0.266, allocations: 49.59 kB / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2661, allocations: 11.98 kB / 0.7869 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2661, allocations: 0 / 0.7869 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2661, allocations: 4.094 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.2661, allocations: 7.938 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2662, allocations: 0 / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.2662, allocations: 7.906 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.2662, allocations: 0 / 0.787 GB, free: 9.547 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 (1): * Single equations (assignments): 1 * 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 0.0001218/0.2663, allocations: 193.1 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.887e-05/0.2664, allocations: 108.9 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.2665, allocations: 108.9 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.491e-05/0.2665, allocations: 188.2 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.802e-05/0.2666, allocations: 184.2 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-05/0.2667, allocations: 180.3 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.267, allocations: 417.1 kB / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.644e-05/0.267, allocations: 101 kB / 0.7884 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.2671, allocations: 113 kB / 0.7885 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.471e-05/0.2672, allocations: 185.3 kB / 0.7887 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/0.2673, allocations: 176.3 kB / 0.7888 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.259e-05/0.2674, allocations: 184.1 kB / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.865e-05/0.2675, allocations: 184.3 kB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.2677, allocations: 315.7 kB / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.712e-05/0.2678, allocations: 186 kB / 0.7897 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.268, allocations: 180.2 kB / 0.7898 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/0.2681, allocations: 113.2 kB / 0.7899 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.2683, allocations: 180.3 kB / 0.7901 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.2683, allocations: 113 kB / 0.7902 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001039/0.2684, allocations: 131.2 kB / 0.7903 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2684, allocations: 0 / 0.7903 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002701/0.2687, allocations: 8 kB / 0.7904 GB, free: 5.848 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 (0): * Single equations (assignments): 0 * 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.0006143/0.2693, allocations: 0.8087 MB / 0.7911 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.759e-05/0.2694, allocations: 15.88 kB / 0.7912 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2694, allocations: 0 / 0.7912 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.2694, allocations: 3.938 kB / 0.7912 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.27, allocations: 467.6 kB / 0.7916 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.2714, allocations: 1.604 MB / 0.7932 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.2717, allocations: 0.6924 MB / 0.7939 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.2718, allocations: 11.98 kB / 0.7939 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.2718, allocations: 11.44 kB / 0.7939 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2718, allocations: 0 / 0.7939 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.2913, allocations: 1.612 MB / 0.7955 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/8.092, allocations: 7.938 kB / 0.7955 GB, free: 0.5742 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)