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.Division.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.Division,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Division",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Division,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Division",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.426/1.426, allocations: 252 MB / 267 MB, free: 10.96 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.001051/0.001051, allocations: 179.8 kB / 326.6 MB, free: 2.223 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.825/1.825, 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.0008811/0.0008814, allocations: 89.91 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003423, allocations: 12.94 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2539, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Division): time 0.001548/0.2555, allocations: 1.133 MB / 0.9014 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002898/0.2558, allocations: 112.5 kB / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.487e-05/0.2558, allocations: 0 / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.2559, allocations: 0 / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.426e-05/0.256, allocations: 11.92 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.074e-05/0.256, allocations: 11.98 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.772e-05/0.2561, allocations: 35.86 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.2562, allocations: 11.98 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.269e-05/0.2563, allocations: 11.98 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.028e-05/0.2563, allocations: 15.92 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.2563, allocations: 4 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.2564, allocations: 0 / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.2564, allocations: 3.938 kB / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.2564, allocations: 41.64 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.159e-05/0.2565, allocations: 23.94 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2565, allocations: 0 / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.376e-06/0.2565, allocations: 3.984 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2565, allocations: 4 kB / 0.9017 GB, free: 62.34 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.0004861/0.257, allocations: 359.5 kB / 0.9021 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.257, allocations: 12.03 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.668e-05/0.2571, allocations: 34.56 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.2571, allocations: 4 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.532e-05/0.2572, allocations: 182.8 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.2572, allocations: 0 / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.2572, allocations: 4 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.2575, allocations: 81.66 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2575, allocations: 0 / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.2575, allocations: 0 / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.2575, allocations: 0 / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.2578, allocations: 87.92 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.2581, allocations: 264.9 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.2583, allocations: 70.48 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.2585, allocations: 56.91 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.2585, allocations: 0 / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.2585, allocations: 34.56 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2585, allocations: 0 / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005316/0.2591, allocations: 165.7 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.2591, allocations: 51.41 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.2592, allocations: 113.8 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.2592, allocations: 33.7 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.2592, allocations: 91.97 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.2593, allocations: 7.906 kB / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.2593, allocations: 0 / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.2593, allocations: 318.8 kB / 0.9036 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.2595, allocations: 43.95 kB / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.2596, allocations: 39.97 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.2598, allocations: 43.95 kB / 0.9037 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2598, allocations: 0 / 0.9037 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003004/0.2601, allocations: 117.6 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2601, allocations: 10.12 kB / 0.9038 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2601, allocations: 7.938 kB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2602, allocations: 0 / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.2603, allocations: 19.98 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2603, allocations: 0 / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.079e-05/0.2604, allocations: 27.92 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.2604, allocations: 4 kB / 0.9039 GB, free: 59.88 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 6.416e-05/0.2605, allocations: 115.8 kB / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.2605, allocations: 3.906 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.2605, allocations: 11.91 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2605, allocations: 0 / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2605, allocations: 0 / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2606, allocations: 0 / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.2607, allocations: 173.6 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2607, allocations: 0 / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.282e-05/0.2608, allocations: 27.92 kB / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2608, allocations: 0 / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.2608, allocations: 0 / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2608, allocations: 0 / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2608, allocations: 0 / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.2611, allocations: 219.4 kB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.2612, allocations: 85.02 kB / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.2612, allocations: 8 kB / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.2613, allocations: 15.98 kB / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.2614, allocations: 3.984 kB / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.2614, allocations: 4 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.793e-05/0.2614, allocations: 83.28 kB / 0.9046 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2614, allocations: 0 / 0.9046 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001895/0.2616, allocations: 8 kB / 0.9046 GB, free: 59.04 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.0005429/0.2622, allocations: 0.7553 MB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.2625, allocations: 87.92 kB / 0.9055 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2625, allocations: 0 / 0.9055 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.2626, allocations: 47.97 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.2629, allocations: 11.98 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.2633, allocations: 170.5 kB / 0.9057 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.2635, allocations: 0.6848 MB / 0.9063 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.2635, allocations: 8 kB / 0.9063 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.2636, allocations: 15.38 kB / 0.9064 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of SimCode: time 4.2e-07/0.2636, allocations: 0 / 0.9064 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.2745, allocations: 1.305 MB / 0.9076 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/0.2747, allocations: 207.2 kB / 0.9078 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/1.89, allocations: 4 kB / 0.9078 GB, free: 55.79 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Division_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Division.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe 2>&1)