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.Add.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.Add,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.551/1.551, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.00103/0.00103, allocations: 180.9 kB / 326.5 MB, free: 2.234 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.011/2.011, 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.001073/0.001073, allocations: 100.4 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004186, allocations: 11.81 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2571, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001553/0.2587, allocations: 1.128 MB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002975/0.259, allocations: 117.9 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.2591, allocations: 0 / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.2591, allocations: 4 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.279e-05/0.2592, allocations: 11.92 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.315e-05/0.2593, allocations: 7.984 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.969e-05/0.2593, allocations: 23.97 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.2594, allocations: 15.97 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.2595, allocations: 19.92 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.2596, allocations: 19.86 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.2596, allocations: 11.94 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-06/0.2596, allocations: 0 / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.2596, allocations: 3.984 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.2596, allocations: 37.64 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.357e-05/0.2597, allocations: 23.92 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2597, allocations: 0 / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2597, allocations: 4 kB / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2597, allocations: 0 / 0.9016 GB, free: 62.36 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.0004968/0.2602, allocations: 377.2 kB / 0.9019 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.2603, allocations: 8.031 kB / 0.9019 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.2603, allocations: 38.56 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.2604, allocations: 3.906 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.2605, allocations: 171 kB / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.2605, allocations: 0 / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.2605, allocations: 4 kB / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.2608, allocations: 89.58 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.2608, allocations: 0 / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2608, allocations: 4 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2608, allocations: 0 / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.2611, allocations: 87.92 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.2615, allocations: 272.9 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.2617, allocations: 66.48 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.2617, allocations: 4 kB / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.2617, allocations: 30.56 kB / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2617, allocations: 0 / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005368/0.2623, allocations: 169.6 kB / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.2623, allocations: 55.41 kB / 0.9029 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.827e-05/0.2624, allocations: 114 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.2624, allocations: 30.02 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.2625, allocations: 88.12 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.2625, allocations: 11.91 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/0.2625, allocations: 0 / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.2626, allocations: 314.8 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.2627, allocations: 47.95 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.2629, allocations: 43.91 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.263, allocations: 47.95 kB / 0.9035 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.263, allocations: 0 / 0.9035 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002989/0.2633, allocations: 121.5 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2633, allocations: 6.812 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2633, allocations: 0 / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2634, allocations: 0 / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.2635, allocations: 27.98 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2635, allocations: 0 / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.2636, allocations: 15.98 kB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.2636, allocations: 7.891 kB / 0.9037 GB, free: 59.93 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.341e-05/0.2637, allocations: 113.8 kB / 0.9038 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.2637, allocations: 7.906 kB / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.2637, allocations: 11.91 kB / 0.9038 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2637, allocations: 0 / 0.9038 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2638, allocations: 0 / 0.9038 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2638, allocations: 336 / 0.9038 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.2639, allocations: 177.6 kB / 0.904 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2639, allocations: 0 / 0.904 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.172e-05/0.264, allocations: 19.98 kB / 0.904 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.264, allocations: 4 kB / 0.904 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.264, allocations: 0 / 0.904 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.264, allocations: 4 kB / 0.904 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.264, allocations: 3.984 kB / 0.904 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.2644, allocations: 219.4 kB / 0.9043 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.2644, allocations: 88.89 kB / 0.9043 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.2644, allocations: 0 / 0.9043 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2645, allocations: 19.98 kB / 0.9044 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.2646, allocations: 11.98 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.2646, allocations: 4 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.484e-05/0.2646, allocations: 87.28 kB / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2646, allocations: 288 / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001998/0.2648, allocations: 8 kB / 0.9045 GB, free: 59.06 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.0005387/0.2654, allocations: 0.7592 MB / 0.9052 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.2657, allocations: 91.86 kB / 0.9053 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2657, allocations: 0 / 0.9053 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.2659, allocations: 51.89 kB / 0.9053 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.2661, allocations: 15.94 kB / 0.9054 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.2665, allocations: 166.2 kB / 0.9055 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.2667, allocations: 0.6887 MB / 0.9062 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.63e-05/0.2667, allocations: 7.859 kB / 0.9062 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.2667, allocations: 11.44 kB / 0.9062 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2668, allocations: 0 / 0.9062 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.2785, allocations: 1.327 MB / 0.9075 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/0.2787, allocations: 199.8 kB / 0.9077 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/1.856, allocations: 0 / 0.9077 GB, free: 55.77 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)