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.441/1.441, 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.0009986/0.0009985, allocations: 178.3 kB / 326.6 MB, free: 2.219 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.929/1.929, 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.0008911/0.0008906, allocations: 92.03 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003704, allocations: 15.62 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2609, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001635/0.2626, allocations: 1.141 MB / 0.9014 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003435/0.263, allocations: 120.5 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.263, allocations: 0 / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.2631, allocations: 0 / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.2632, allocations: 7.938 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.959e-05/0.2633, allocations: 7.984 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.2633, allocations: 43.86 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.2635, allocations: 7.984 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.067e-05/0.2635, allocations: 19.92 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.2636, allocations: 19.92 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.2636, allocations: 3.938 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.2636, allocations: 4 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.2637, allocations: 7.922 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.2637, allocations: 33.7 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.952e-05/0.2638, allocations: 27.92 kB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.2638, allocations: 0 / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2638, allocations: 0 / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2638, allocations: 0 / 0.9017 GB, free: 62.31 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.0006547/0.2645, allocations: 379.5 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.2645, allocations: 8.031 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.919e-05/0.2646, allocations: 30.56 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.2646, allocations: 7.906 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.2647, allocations: 174.9 kB / 0.9023 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2648, allocations: 8 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.2648, allocations: 0 / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.2651, allocations: 81.64 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2651, allocations: 0 / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.2651, allocations: 3.938 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2651, allocations: 4 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.2654, allocations: 87.92 kB / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.2659, allocations: 268.9 kB / 0.9027 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.2661, allocations: 78.48 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.2663, allocations: 52.91 kB / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.2663, allocations: 0 / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.2663, allocations: 34.56 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2664, allocations: 0 / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0006089/0.267, allocations: 169.4 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.267, allocations: 51.41 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.2671, allocations: 118 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2671, allocations: 29.7 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.2672, allocations: 84.14 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.2672, allocations: 7.906 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.2672, allocations: 0 / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.2673, allocations: 318.8 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.2675, allocations: 43.97 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.2676, allocations: 47.89 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.2678, allocations: 43.97 kB / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2678, allocations: 0 / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003228/0.2681, allocations: 121.5 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2682, allocations: 7.938 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2682, allocations: 336 / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2682, allocations: 0 / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.2684, allocations: 23.97 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2684, allocations: 4 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.368e-05/0.2685, allocations: 19.94 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2685, allocations: 0 / 0.9039 GB, free: 59.82 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.735e-05/0.2686, allocations: 113.8 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.2686, allocations: 7.891 kB / 0.9041 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.2686, allocations: 15.89 kB / 0.9041 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2686, allocations: 4.375 kB / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2686, allocations: 0 / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2686, allocations: 0 / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.2688, allocations: 169.6 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2688, allocations: 3.938 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.872e-05/0.2689, allocations: 23.97 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2689, allocations: 0 / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2689, allocations: 0 / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2689, allocations: 4 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2689, allocations: 4 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.2693, allocations: 219.4 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.2693, allocations: 84.95 kB / 0.9046 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.2693, allocations: 3.984 kB / 0.9046 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.2694, allocations: 19.98 kB / 0.9046 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.2695, allocations: 8 kB / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.2695, allocations: 0 / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.2695, allocations: 91.27 kB / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2696, allocations: 0 / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002013/0.2698, allocations: 8 kB / 0.9047 GB, free: 58.95 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.0005822/0.2703, allocations: 0.7514 MB / 0.9054 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.2707, allocations: 95.92 kB / 0.9055 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2707, allocations: 0 / 0.9055 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.2708, allocations: 47.91 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.2711, allocations: 7.984 kB / 0.9056 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.2716, allocations: 174.2 kB / 0.9057 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.2717, allocations: 0.6809 MB / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.031e-05/0.2718, allocations: 3.859 kB / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.2718, allocations: 15.44 kB / 0.9064 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2718, allocations: 4 kB / 0.9064 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01195/0.2838, allocations: 1.346 MB / 0.9077 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/0.284, allocations: 197.5 kB / 0.9079 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.933, allocations: 0 / 0.9079 GB, free: 55.66 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)