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.001293/0.001293, 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.001372/0.001372, allocations: 196 kB / 16.53 MB, free: 6.391 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.446/1.446, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.687/1.687, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.002197/0.002197, allocations: 69.31 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2537, allocations: 114.5 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0019/0.2557, allocations: 0.6587 MB / 0.7841 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001511/0.2558, allocations: 8 kB / 0.7841 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.2559, allocations: 3.938 kB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.256, allocations: 7.938 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.947e-05/0.2561, allocations: 3.984 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.204e-05/0.2561, allocations: 8 kB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.532e-05/0.2562, allocations: 23.92 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.2564, allocations: 39.91 kB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.674e-05/0.2564, allocations: 8 kB / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.77e-05/0.2565, allocations: 19.86 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.2565, allocations: 4 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.2565, allocations: 4 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.2565, allocations: 8 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.2566, allocations: 15.88 kB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.238e-05/0.2567, allocations: 55.8 kB / 0.7843 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2567, allocations: 0 / 0.7843 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2567, allocations: 0 / 0.7843 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2567, allocations: 0 / 0.7843 GB, free: 12.47 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.000376/0.2571, allocations: 351.6 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2571, allocations: 8.031 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.2572, allocations: 38.75 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.2572, allocations: 4.938 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.2574, allocations: 180.2 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2574, allocations: 8.375 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2574, allocations: 8.375 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.2576, allocations: 78.16 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2576, allocations: 3.938 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2576, allocations: 4 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2576, allocations: 4 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.419e-05/0.2577, allocations: 47.97 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.2582, allocations: 483.1 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.656e-05/0.2583, allocations: 177.1 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.2584, allocations: 80.14 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.2584, allocations: 79.28 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.2585, allocations: 105.8 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2585, allocations: 0 / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.257e-05/0.2586, allocations: 37.61 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.2586, allocations: 130.6 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.2588, allocations: 172.6 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.2588, allocations: 25.7 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.2589, allocations: 104 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-06/0.2589, allocations: 0 / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.2589, allocations: 9.719 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2591, allocations: 322.8 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.2591, allocations: 11.94 kB / 0.7867 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/0.2591, allocations: 11.98 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.145e-05/0.2591, allocations: 8.859 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2591, allocations: 0 / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001738/0.2593, allocations: 57.58 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2593, allocations: 4 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2594, allocations: 0 / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2594, allocations: 4 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.2594, allocations: 12.08 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2595, allocations: 3.938 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.2595, allocations: 7.906 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2595, allocations: 4 kB / 0.7868 GB, free: 9.699 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.0001055/0.2596, allocations: 193.1 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.2597, allocations: 105 kB / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.2597, allocations: 116.8 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.754e-05/0.2598, allocations: 188.1 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.436e-05/0.2599, allocations: 176.3 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-05/0.26, allocations: 188.2 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.2602, allocations: 421.2 kB / 0.7881 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.212e-05/0.2603, allocations: 101 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.2603, allocations: 108.9 kB / 0.7883 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.943e-05/0.2604, allocations: 177.3 kB / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-05/0.2605, allocations: 188.2 kB / 0.7887 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.018e-05/0.2606, allocations: 180.2 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.483e-05/0.2606, allocations: 192.2 kB / 0.789 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.2608, allocations: 307.7 kB / 0.7893 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.2609, allocations: 197.9 kB / 0.7895 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/0.261, allocations: 176.3 kB / 0.7897 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.162e-05/0.2611, allocations: 109.2 kB / 0.7898 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.2612, allocations: 180.3 kB / 0.79 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/0.2613, allocations: 109 kB / 0.7901 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001053/0.2614, allocations: 131.2 kB / 0.7902 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2614, allocations: 0 / 0.7902 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002511/0.2617, allocations: 4 kB / 0.7902 GB, free: 6 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.0004997/0.2622, allocations: 0.8164 MB / 0.791 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.834e-05/0.2622, allocations: 11.98 kB / 0.791 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2622, allocations: 0 / 0.791 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.2622, allocations: 0 / 0.791 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.2627, allocations: 467.6 kB / 0.7915 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.2642, allocations: 1.604 MB / 0.793 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.2645, allocations: 0.6924 MB / 0.7937 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.354e-05/0.2646, allocations: 8 kB / 0.7937 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.2646, allocations: 15.42 kB / 0.7937 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2646, allocations: 3.938 kB / 0.7937 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.2846, allocations: 1.586 MB / 0.7953 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/7.665, allocations: 7.688 kB / 0.7953 GB, free: 0.7305 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)