Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009371/0.0009372, allocations: 186.2 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 0.5776 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007919/0.0007921, allocations: 92.36 kB / 0.6823 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004871, allocations: 19.31 kB / 0.7965 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2863, allocations: 106.4 MB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001625/0.288, allocations: 1.086 MB / 0.9014 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003709/0.2884, allocations: 125.8 kB / 0.9015 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.2885, allocations: 4 kB / 0.9015 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.2885, allocations: 0 / 0.9015 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.2886, allocations: 3.938 kB / 0.9015 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.2887, allocations: 4 kB / 0.9015 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.094e-05/0.2888, allocations: 23.92 kB / 0.9015 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.996e-05/0.2889, allocations: 0 / 0.9015 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.289, allocations: 7.984 kB / 0.9016 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.289, allocations: 11.94 kB / 0.9016 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.2891, allocations: 0 / 0.9016 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.2891, allocations: 4 kB / 0.9016 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.2891, allocations: 7.969 kB / 0.9016 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.2891, allocations: 29.7 kB / 0.9016 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.588e-05/0.2892, allocations: 15.97 kB / 0.9016 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2892, allocations: 0 / 0.9016 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2892, allocations: 0 / 0.9016 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2892, allocations: 0 / 0.9016 GB, free: 63.01 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003847/0.2896, allocations: 331.4 kB / 0.9019 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.2897, allocations: 12.03 kB / 0.9019 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/0.2897, allocations: 38.5 kB / 0.902 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.2897, allocations: 7.938 kB / 0.902 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.85e-05/0.2898, allocations: 166.9 kB / 0.9022 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2899, allocations: 3.938 kB / 0.9022 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.2899, allocations: 4 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.2901, allocations: 53.67 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2901, allocations: 4 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.2901, allocations: 0 / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2901, allocations: 0 / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.2903, allocations: 47.94 kB / 0.9023 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.2906, allocations: 257.1 kB / 0.9025 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.2907, allocations: 42.55 kB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.607e-05/0.2908, allocations: 28.91 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.2909, allocations: 4 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.2909, allocations: 34.56 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.2909, allocations: 0 / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003664/0.2913, allocations: 101.7 kB / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.2913, allocations: 55.41 kB / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.854e-05/0.2914, allocations: 97.81 kB / 0.9029 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.2914, allocations: 29.69 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.2914, allocations: 84.14 kB / 0.903 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.2915, allocations: 7.906 kB / 0.903 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.2915, allocations: 0 / 0.903 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.708e-05/0.2915, allocations: 314.9 kB / 0.9033 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.2916, allocations: 23.98 kB / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.309e-05/0.2917, allocations: 19.97 kB / 0.9033 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.597e-05/0.2918, allocations: 28.05 kB / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2918, allocations: 0 / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002072/0.292, allocations: 73.61 kB / 0.9034 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.292, allocations: 7.984 kB / 0.9034 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2921, allocations: 4.031 kB / 0.9034 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2921, allocations: 0 / 0.9034 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.2922, allocations: 8 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2922, allocations: 4 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.2923, allocations: 7.984 kB / 0.9034 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.2923, allocations: 3.953 kB / 0.9034 GB, free: 60.92 MB / 0.6042 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.875e-05/0.2924, allocations: 117.8 kB / 0.9036 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.2924, allocations: 3.906 kB / 0.9036 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.2927, allocations: 80.77 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2927, allocations: 7.938 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2927, allocations: 0 / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2927, allocations: 7.969 kB / 0.9037 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.2928, allocations: 157.6 kB / 0.9038 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2929, allocations: 3.938 kB / 0.9038 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.256e-05/0.2929, allocations: 15.98 kB / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2929, allocations: 0 / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2929, allocations: 0 / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.293, allocations: 0 / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.293, allocations: 0 / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.2932, allocations: 175.5 kB / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.2932, allocations: 81.11 kB / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2932, allocations: 0 / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.2933, allocations: 12.02 kB / 0.9041 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.2934, allocations: 4 kB / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.2934, allocations: 0 / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.558e-05/0.2934, allocations: 87.27 kB / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2934, allocations: 0 / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001886/0.2936, allocations: 0 / 0.9042 GB, free: 60.08 MB / 0.6042 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004607/0.2941, allocations: 0.7124 MB / 0.9049 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.2943, allocations: 44 kB / 0.9049 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2943, allocations: 0 / 0.9049 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.406e-05/0.2944, allocations: 31.91 kB / 0.9049 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.2947, allocations: 5.203 kB / 0.9049 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.2951, allocations: 142.4 kB / 0.9051 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.2952, allocations: 0.677 MB / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.2952, allocations: 3.938 kB / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.2952, allocations: 11.44 kB / 0.9057 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2953, allocations: 0 / 0.9057 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.3091, allocations: 1.01 MB / 0.9067 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.3093, allocations: 200.2 kB / 0.9069 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/1.888, allocations: 5.125 kB / 0.9069 GB, free: 57.26 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)