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.426/1.426, allocations: 252 MB / 267.3 MB, free: 10.85 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.001116/0.001116, allocations: 172.9 kB / 327 MB, free: 2.102 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.857/1.857, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.0007301/0.0007301, allocations: 92.12 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 11.97 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2271, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.00163/0.2288, allocations: 1.153 MB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003405/0.2291, allocations: 116.5 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/0.2292, allocations: 4 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.2292, allocations: 7.875 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.2294, allocations: 7.922 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.151e-05/0.2294, allocations: 8 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.676e-05/0.2295, allocations: 47.84 kB / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2296, allocations: 12 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.051e-05/0.2297, allocations: 19.86 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.338e-05/0.2298, allocations: 15.92 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.2298, allocations: 0 / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.2298, allocations: 4 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.2299, allocations: 7.984 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.2299, allocations: 49.55 kB / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.963e-05/0.23, allocations: 35.86 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.23, allocations: 0 / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.895e-06/0.23, allocations: 0 / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.23, allocations: 3.938 kB / 0.9024 GB, free: 61.85 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.0005018/0.2305, allocations: 371.7 kB / 0.9027 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.2306, allocations: 12.03 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.2306, allocations: 34.75 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.2307, allocations: 8.844 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.405e-05/0.2308, allocations: 172.3 kB / 0.903 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2308, allocations: 4.375 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.2308, allocations: 384 / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.2311, allocations: 82.16 kB / 0.903 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2311, allocations: 3.938 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2311, allocations: 4 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2311, allocations: 0 / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.2314, allocations: 87.92 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.2318, allocations: 272.8 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.232, allocations: 78.47 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.2322, allocations: 48.92 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.2322, allocations: 0 / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.2322, allocations: 38.56 kB / 0.9036 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.2322, allocations: 0 / 0.9036 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005324/0.2327, allocations: 161.6 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.2328, allocations: 51.41 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.97e-05/0.2329, allocations: 121.7 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.2329, allocations: 25.7 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.2329, allocations: 88.12 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.233, allocations: 19.8 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.233, allocations: 0 / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.233, allocations: 314.8 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.2332, allocations: 47.95 kB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2333, allocations: 39.97 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.2336, allocations: 96.78 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2336, allocations: 0 / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002997/0.2339, allocations: 121.6 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2339, allocations: 4 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2339, allocations: 3.984 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.234, allocations: 0 / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.2341, allocations: 32.17 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.2341, allocations: 0 / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.2342, allocations: 19.98 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.2342, allocations: 0 / 0.9046 GB, free: 59.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.286e-05/0.2343, allocations: 117.8 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.2343, allocations: 3.906 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.2343, allocations: 15.89 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2343, allocations: 0 / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2344, allocations: 0 / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.2344, allocations: 0 / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.2345, allocations: 173.6 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2345, allocations: 4 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.797e-05/0.2346, allocations: 23.98 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2346, allocations: 0 / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.2346, allocations: 0 / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2346, allocations: 3.984 kB / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2346, allocations: 4 kB / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.235, allocations: 223.3 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.235, allocations: 85.05 kB / 0.9053 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.235, allocations: 0 / 0.9053 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2351, allocations: 15.98 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.2352, allocations: 8.359 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.2352, allocations: 0 / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.311e-05/0.2352, allocations: 95.2 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2352, allocations: 0 / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001979/0.2354, allocations: 12 kB / 0.9054 GB, free: 58.43 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005871/0.236, allocations: 0.7552 MB / 0.9061 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.2364, allocations: 91.92 kB / 0.9062 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2364, allocations: 0 / 0.9062 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.2365, allocations: 47.97 kB / 0.9063 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.2368, allocations: 9.547 kB / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.2373, allocations: 180.5 kB / 0.9064 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.2374, allocations: 0.6848 MB / 0.9071 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.647e-05/0.2375, allocations: 7.797 kB / 0.9071 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.2375, allocations: 11.44 kB / 0.9071 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/0.2375, allocations: 0 / 0.9071 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01107/0.2486, allocations: 1.354 MB / 0.9085 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/0.2488, allocations: 212.7 kB / 0.9087 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/1.972, allocations: 0 / 0.9087 GB, free: 55.11 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)