Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.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.MultiSum,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",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.001119/0.001119, 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.001051/0.001051, allocations: 192.1 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.424/1.424, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.693/1.693, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001414/0.001414, allocations: 73.67 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.23, allocations: 114.6 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.00236/0.2324, allocations: 0.8813 MB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2337, allocations: 0.8788 MB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.2337, allocations: 0 / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.2339, allocations: 19.8 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.234, allocations: 19.8 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.2342, allocations: 39.94 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.2344, allocations: 135.6 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.2346, allocations: 61.31 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.851e-05/0.2347, allocations: 55.78 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.2349, allocations: 87.66 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.2349, allocations: 12 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.836e-05/0.235, allocations: 12 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.235, allocations: 43.84 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.754e-05/0.2351, allocations: 63.59 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.2354, allocations: 175.6 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2354, allocations: 4 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2354, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.2354, allocations: 0 / 0.7859 GB, free: 10.84 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001068/0.2365, allocations: 0.5026 MB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/0.2365, allocations: 8.031 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.492e-05/0.2366, allocations: 42.69 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.2367, allocations: 20.66 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.237, allocations: 216 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.237, allocations: 8.375 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.2371, allocations: 8.375 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.2376, allocations: 180.5 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.2377, allocations: 3.938 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.2377, allocations: 8 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2377, allocations: 3.984 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007555/0.2385, allocations: 223.7 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.2395, allocations: 0.508 MB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.24, allocations: 162.4 kB / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.2404, allocations: 112.8 kB / 0.7879 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.2404, allocations: 0 / 0.7879 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.2404, allocations: 34.56 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.2405, allocations: 0 / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001217/0.2417, allocations: 365.3 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.2417, allocations: 55.34 kB / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.2419, allocations: 187.9 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.2419, allocations: 29.7 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.242, allocations: 120.4 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.2421, allocations: 31.55 kB / 0.7886 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.2421, allocations: 17.72 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2422, allocations: 322.8 kB / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.2426, allocations: 107.8 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.243, allocations: 107.8 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007043/0.2437, allocations: 212.6 kB / 0.7894 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2437, allocations: 0 / 0.7894 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007749/0.2445, allocations: 265.2 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2445, allocations: 7.938 kB / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2445, allocations: 0 / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2445, allocations: 0 / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.2448, allocations: 43.94 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2448, allocations: 3.938 kB / 0.7897 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.245, allocations: 43.89 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.245, allocations: 0 / 0.7897 GB, free: 6.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 (9): * Single equations (assignments): 9 * 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.0001122/0.2452, allocations: 134.5 kB / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.2452, allocations: 15.75 kB / 0.7899 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.2453, allocations: 25.39 kB / 0.7899 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2453, allocations: 4 kB / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.2453, allocations: 11.94 kB / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2453, allocations: 0 / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.2455, allocations: 245.5 kB / 0.7901 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2456, allocations: 0 / 0.7901 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.2458, allocations: 43.94 kB / 0.7902 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2458, allocations: 288 / 0.7902 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.2458, allocations: 0 / 0.7902 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2458, allocations: 4 kB / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2458, allocations: 7.875 kB / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.2466, allocations: 359.1 kB / 0.7905 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.2467, allocations: 88.92 kB / 0.7906 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.2467, allocations: 7.984 kB / 0.7906 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.247, allocations: 31.95 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.247, allocations: 15.92 kB / 0.7907 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.247, allocations: 4 kB / 0.7907 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.438e-05/0.2471, allocations: 127.2 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2472, allocations: 0 / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002556/0.2474, allocations: 35.94 kB / 0.7908 GB, free: 5.465 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 (9): * Single equations (assignments): 9 * 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.00118/0.2486, allocations: 0.8839 MB / 0.7917 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008176/0.2494, allocations: 231.6 kB / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2494, allocations: 4 kB / 0.7919 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.2498, allocations: 115.9 kB / 0.792 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.2502, allocations: 36.41 kB / 0.7921 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.2536, allocations: 2.138 MB / 0.7942 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.2539, allocations: 0.7236 MB / 0.7949 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.556e-05/0.254, allocations: 28.41 kB / 0.7949 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.2541, allocations: 39.42 kB / 0.7949 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of SimCode: time 4.5e-07/0.2541, allocations: 0 / 0.7949 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.275, allocations: 3.594 MB / 0.7984 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.762, allocations: 14.22 kB / 0.7984 GB, free: 13.64 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1)