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.001124/0.001124, 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.001246/0.001246, 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.45/1.45, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.758/1.758, 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.001521/0.001521, allocations: 66.52 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2316, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.002178/0.2338, allocations: 0.8888 MB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2349, allocations: 0.871 MB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.235, allocations: 4 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.2351, allocations: 19.73 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.2353, allocations: 27.78 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.2354, allocations: 39.94 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.2356, allocations: 139.5 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.2358, allocations: 53.33 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.612e-05/0.2359, allocations: 59.77 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.236, allocations: 79.73 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.2361, allocations: 12 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.238e-05/0.2361, allocations: 12 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.2362, allocations: 47.83 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.536e-05/0.2363, allocations: 71.59 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.2365, allocations: 175.6 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2365, allocations: 0 / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2365, allocations: 0 / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.2365, allocations: 0 / 0.7861 GB, free: 10.71 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.0009614/0.2375, allocations: 0.4948 MB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2375, allocations: 11.97 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.2375, allocations: 46.73 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.2376, allocations: 20.66 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.2378, allocations: 212 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.2378, allocations: 8.375 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.2379, allocations: 8.375 kB / 0.7869 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.2384, allocations: 186 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2384, allocations: 3.938 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.2385, allocations: 4 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2385, allocations: 0 / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007612/0.2392, allocations: 223.7 kB / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009641/0.2402, allocations: 0.5119 MB / 0.7878 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/0.2407, allocations: 154.4 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/0.2411, allocations: 116.7 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2411, allocations: 0 / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.2411, allocations: 38.69 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.2411, allocations: 0 / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001283/0.2424, allocations: 365.4 kB / 0.7884 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.2425, allocations: 55.44 kB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.2427, allocations: 191.9 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.2427, allocations: 25.7 kB / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.2428, allocations: 120 kB / 0.7888 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.2428, allocations: 27.56 kB / 0.7888 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.2429, allocations: 25.7 kB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.243, allocations: 326.8 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/0.2434, allocations: 99.89 kB / 0.7892 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.2438, allocations: 107.9 kB / 0.7893 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007188/0.2445, allocations: 212.6 kB / 0.7895 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2445, allocations: 0 / 0.7895 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007939/0.2453, allocations: 261.3 kB / 0.7898 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2453, allocations: 4 kB / 0.7898 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2453, allocations: 0 / 0.7898 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2454, allocations: 0 / 0.7898 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.2456, allocations: 43.89 kB / 0.7898 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2457, allocations: 3.938 kB / 0.7898 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.2459, allocations: 47.88 kB / 0.7899 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.2459, allocations: 4 kB / 0.7899 GB, free: 6.574 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.0001066/0.246, allocations: 133.8 kB / 0.79 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.246, allocations: 11.81 kB / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.2461, allocations: 29.39 kB / 0.79 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2461, allocations: 288 / 0.79 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2461, allocations: 3.938 kB / 0.7901 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2461, allocations: 3.984 kB / 0.7901 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.2464, allocations: 253.5 kB / 0.7903 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2464, allocations: 0 / 0.7903 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.2467, allocations: 43.89 kB / 0.7903 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.2467, allocations: 3.984 kB / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.2467, allocations: 3.938 kB / 0.7903 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.2467, allocations: 4 kB / 0.7904 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2467, allocations: 3.938 kB / 0.7904 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008475/0.2476, allocations: 355.1 kB / 0.7907 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.2476, allocations: 92.92 kB / 0.7908 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.2477, allocations: 4 kB / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.2479, allocations: 31.95 kB / 0.7908 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.248, allocations: 19.91 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.248, allocations: 4 kB / 0.7908 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.872e-05/0.2481, allocations: 127.2 kB / 0.791 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2481, allocations: 0 / 0.791 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002507/0.2483, allocations: 27.94 kB / 0.791 GB, free: 5.344 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.001214/0.2495, allocations: 0.8917 MB / 0.7919 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008519/0.2504, allocations: 227.7 kB / 0.7921 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2504, allocations: 384 / 0.7921 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.2508, allocations: 119.8 kB / 0.7922 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.2512, allocations: 30.67 kB / 0.7922 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.2549, allocations: 2.138 MB / 0.7943 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.2552, allocations: 0.7234 MB / 0.795 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.32e-05/0.2553, allocations: 20.42 kB / 0.795 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/0.2554, allocations: 47.42 kB / 0.7951 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2554, allocations: 0 / 0.7951 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.2731, allocations: 3.625 MB / 0.7986 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.04, allocations: 10.08 kB / 0.7986 GB, free: 13.5 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)