Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.001791/0.001791, 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.002295/0.002295, allocations: 197.3 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.413/1.413, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.711/1.711, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.002821/0.002821, allocations: 65.19 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2733, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002222/0.2756, allocations: 0.7101 MB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.2766, allocations: 0.8087 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.035e-05/0.2767, allocations: 0 / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.2768, allocations: 7.922 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.2768, allocations: 7.922 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.801e-05/0.2769, allocations: 15.98 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.099e-05/0.277, allocations: 39.92 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.2771, allocations: 7.984 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.007e-05/0.2772, allocations: 27.86 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.781e-05/0.2773, allocations: 19.92 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2773, allocations: 4 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.2773, allocations: 4 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.2773, allocations: 15.92 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.2774, allocations: 15.94 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.294e-05/0.2775, allocations: 47.78 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2775, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2775, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2775, allocations: 0 / 0.7852 GB, free: 11.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005307/0.278, allocations: 375.6 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2781, allocations: 12.03 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.2781, allocations: 30.75 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.2781, allocations: 4.938 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.2783, allocations: 168.2 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.2783, allocations: 12.31 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-06/0.2783, allocations: 384 / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.2786, allocations: 82.12 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.2786, allocations: 7.938 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2786, allocations: 0 / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2786, allocations: 0 / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.2789, allocations: 63.92 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.2793, allocations: 276.8 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.2795, allocations: 58.48 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.2797, allocations: 36.91 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.2797, allocations: 0 / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.2797, allocations: 38.56 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.2797, allocations: 0 / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005257/0.2802, allocations: 125.6 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.2803, allocations: 51.41 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.2805, allocations: 121.8 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.2805, allocations: 25.7 kB / 0.7866 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.2805, allocations: 88.14 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.2806, allocations: 11.75 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.2806, allocations: 25.64 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2807, allocations: 314.8 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.2809, allocations: 31.97 kB / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.281, allocations: 35.95 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.2813, allocations: 72.78 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.2813, allocations: 4 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003227/0.2816, allocations: 101.6 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2817, allocations: 4 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2817, allocations: 0 / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2817, allocations: 4 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.2818, allocations: 11.98 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2819, allocations: 0 / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.793e-05/0.2819, allocations: 15.97 kB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.282, allocations: 4.375 kB / 0.7873 GB, free: 9.203 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 (3): * Single equations (assignments): 3 * 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 9.194e-05/0.2821, allocations: 117.8 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.2821, allocations: 3.906 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.2821, allocations: 11.91 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2821, allocations: 3.938 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2821, allocations: 0 / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2821, allocations: 0 / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.2823, allocations: 173.6 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2823, allocations: 0 / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.2824, allocations: 19.98 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2824, allocations: 336 / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.2825, allocations: 0 / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2825, allocations: 0 / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2825, allocations: 0 / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.2828, allocations: 215.2 kB / 0.7878 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.2829, allocations: 77.11 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.2829, allocations: 0 / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.283, allocations: 11.98 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.2831, allocations: 3.984 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.2831, allocations: 4 kB / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.122e-05/0.2831, allocations: 87.28 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2831, allocations: 0 / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002115/0.2834, allocations: 4 kB / 0.788 GB, free: 8.387 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 (3): * Single equations (assignments): 3 * 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.0006738/0.284, allocations: 0.7434 MB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.2844, allocations: 71.92 kB / 0.7888 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2844, allocations: 0 / 0.7888 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.2846, allocations: 39.95 kB / 0.7888 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.2849, allocations: 4 kB / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.2854, allocations: 167 kB / 0.789 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.2856, allocations: 0.6807 MB / 0.7897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.2857, allocations: 7.984 kB / 0.7897 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.2857, allocations: 15.72 kB / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2857, allocations: 4 kB / 0.7897 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.3048, allocations: 1.648 MB / 0.7913 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/7.799, allocations: 9.094 kB / 0.7913 GB, free: 4.984 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)