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.Product.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.Product,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.467/1.467, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001269/0.001269, allocations: 172.9 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.245/2.245, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009027/0.0009026, allocations: 95.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003411, allocations: 12.47 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2379, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.00142/0.2393, allocations: 1.12 MB / 0.9013 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000268/0.2396, allocations: 125.8 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.2397, allocations: 0 / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.2397, allocations: 0 / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.395e-05/0.2398, allocations: 4 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.571e-05/0.2398, allocations: 11.98 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.181e-05/0.2399, allocations: 31.89 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.471e-05/0.24, allocations: 4 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.237e-05/0.2401, allocations: 15.98 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.2401, allocations: 15.92 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2401, allocations: 7.938 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.2402, allocations: 0 / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.2402, allocations: 11.92 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.2402, allocations: 29.7 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.747e-05/0.2403, allocations: 23.94 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2403, allocations: 0 / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2403, allocations: 4 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2403, allocations: 0 / 0.9015 GB, free: 62.42 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004178/0.2407, allocations: 363.5 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2408, allocations: 19.95 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.2408, allocations: 30.56 kB / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.2408, allocations: 4 kB / 0.9019 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.338e-05/0.2409, allocations: 170.9 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.2409, allocations: 11.94 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.241, allocations: 4 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.2412, allocations: 77.66 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.2412, allocations: 0 / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.2412, allocations: 3.984 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2413, allocations: 4 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.2415, allocations: 83.94 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.2418, allocations: 264.9 kB / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.242, allocations: 74.47 kB / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.242, allocations: 0 / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.2421, allocations: 34.56 kB / 0.9026 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2421, allocations: 0 / 0.9026 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004992/0.2426, allocations: 161.7 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.2426, allocations: 55.34 kB / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.901e-05/0.2427, allocations: 113.8 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.2427, allocations: 29.7 kB / 0.903 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.2427, allocations: 91.98 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.2428, allocations: 3.906 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.2428, allocations: 4 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.2428, allocations: 318.8 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.243, allocations: 39.97 kB / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.2431, allocations: 43.97 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.2432, allocations: 43.95 kB / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2432, allocations: 3.938 kB / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002944/0.2435, allocations: 117.6 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2436, allocations: 4 kB / 0.9036 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2436, allocations: 4 kB / 0.9036 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2436, allocations: 0 / 0.9036 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.2437, allocations: 23.92 kB / 0.9036 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2437, allocations: 3.984 kB / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.339e-05/0.2438, allocations: 15.98 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2438, allocations: 3.953 kB / 0.9037 GB, free: 60.01 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 (3): * Single equations (assignments): 3 * 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.045e-05/0.2439, allocations: 117.8 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.2439, allocations: 3.906 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/0.2439, allocations: 11.91 kB / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2439, allocations: 336 / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.244, allocations: 0 / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.244, allocations: 0 / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.2441, allocations: 177.5 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2441, allocations: 0 / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-05/0.2442, allocations: 27.98 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2442, allocations: 0 / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2442, allocations: 0 / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2442, allocations: 0 / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2442, allocations: 0 / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.2445, allocations: 219.4 kB / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.2446, allocations: 85.02 kB / 0.9043 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.2446, allocations: 0 / 0.9043 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2447, allocations: 27.98 kB / 0.9043 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.2448, allocations: 3.984 kB / 0.9043 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.2448, allocations: 4 kB / 0.9043 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.712e-05/0.2448, allocations: 83.28 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2448, allocations: 0 / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002432/0.2451, allocations: 8 kB / 0.9044 GB, free: 59.16 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 (3): * Single equations (assignments): 3 * 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.0005249/0.2456, allocations: 0.7554 MB / 0.9051 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.2459, allocations: 91.86 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2459, allocations: 0 / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.2461, allocations: 51.95 kB / 0.9053 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.2463, allocations: 3.938 kB / 0.9053 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.2467, allocations: 174 kB / 0.9054 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.2468, allocations: 0.6848 MB / 0.9061 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.2469, allocations: 4 kB / 0.9061 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.2469, allocations: 15.42 kB / 0.9061 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2469, allocations: 0 / 0.9061 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01032/0.2573, allocations: 1.291 MB / 0.9074 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.2575, allocations: 194 kB / 0.9076 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/1.732, allocations: 0 / 0.9076 GB, free: 55.93 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)