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.Log.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.Log,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.419/1.419, 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.001337/0.001337, allocations: 181.5 kB / 326.6 MB, free: 2.227 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.718/1.718, allocations: 205.4 MB / 0.5777 GB, free: 20.23 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.0007693/0.0007692, allocations: 87.84 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004948, allocations: 11.44 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2827, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.001472/0.2843, allocations: 1.09 MB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003011/0.2846, allocations: 100.7 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.2846, allocations: 7.938 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.2847, allocations: 0 / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.2847, allocations: 3.984 kB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.2849, allocations: 7.984 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.065e-05/0.285, allocations: 15.94 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2851, allocations: 15.98 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.576e-05/0.2851, allocations: 7.938 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.2852, allocations: 3.984 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.2852, allocations: 4 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.2852, allocations: 0 / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.2852, allocations: 4 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.2853, allocations: 29.64 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.382e-05/0.2853, allocations: 11.97 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2853, allocations: 0 / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2854, allocations: 0 / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2854, allocations: 4 kB / 0.9016 GB, free: 62.45 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.0004272/0.2858, allocations: 335.4 kB / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.2859, allocations: 15.97 kB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.2859, allocations: 34.56 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.2859, allocations: 0 / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.286, allocations: 179.2 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.2861, allocations: 0 / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.2861, allocations: 7.938 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.2862, allocations: 53.67 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2863, allocations: 0 / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.2863, allocations: 0 / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.2863, allocations: 0 / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.2865, allocations: 47.91 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.2867, allocations: 256.9 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.2869, allocations: 42.56 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.453e-05/0.287, allocations: 28.91 kB / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.287, allocations: 4 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.287, allocations: 34.55 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.287, allocations: 3.938 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003403/0.2874, allocations: 93.66 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.2874, allocations: 51.41 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.077e-05/0.2875, allocations: 113.8 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.2875, allocations: 29.83 kB / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.2875, allocations: 80.14 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.2875, allocations: 3.906 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.2875, allocations: 0 / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.2876, allocations: 322.8 kB / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.2877, allocations: 15.98 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.432e-05/0.2878, allocations: 27.98 kB / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.979e-05/0.2878, allocations: 15.98 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2879, allocations: 3.938 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000181/0.288, allocations: 77.72 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2881, allocations: 8 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2881, allocations: 0 / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2881, allocations: 0 / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.2882, allocations: 15.98 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2882, allocations: 0 / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.2883, allocations: 16.02 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2883, allocations: 7.891 kB / 0.9034 GB, free: 60.34 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 5.447e-05/0.2883, allocations: 105.8 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.2884, allocations: 7.906 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.2886, allocations: 84.72 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2886, allocations: 0 / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2886, allocations: 4 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2886, allocations: 0 / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.2888, allocations: 161.6 kB / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2888, allocations: 0 / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.2888, allocations: 8 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2888, allocations: 0 / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.2889, allocations: 7.969 kB / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2889, allocations: 3.984 kB / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2889, allocations: 0 / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.2891, allocations: 179.4 kB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.2891, allocations: 81.09 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.2891, allocations: 0 / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.2892, allocations: 12 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.2893, allocations: 3.984 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.2893, allocations: 0 / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.762e-05/0.2893, allocations: 79.28 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2893, allocations: 0 / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001881/0.2895, allocations: 8.031 kB / 0.9042 GB, free: 59.51 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.0005138/0.29, allocations: 0.7047 MB / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.2902, allocations: 55.89 kB / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2902, allocations: 0 / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.2903, allocations: 24.05 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.2906, allocations: 4.906 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.291, allocations: 146.2 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.2912, allocations: 0.677 MB / 0.9057 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.2912, allocations: 8.062 kB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.2913, allocations: 7.438 kB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2913, allocations: 0 / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01062/0.3019, allocations: 1.022 MB / 0.9067 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001313/0.3021, allocations: 201.9 kB / 0.9069 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/1.982, allocations: 0 / 0.9069 GB, free: 56.68 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1)