Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.781/2.781, allocations: 287.3 MB / 302.3 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001545, allocations: 163.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 98.56 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007122/0.0007124, allocations: 13.12 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2189, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0008921/0.2199, allocations: 426.9 kB / 0.9787 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009691/0.2209, allocations: 0.7971 MB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.2209, allocations: 3.938 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.2209, allocations: 3.984 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.546e-05/0.221, allocations: 11.98 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.799e-05/0.2211, allocations: 11.92 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.901e-05/0.2212, allocations: 31.91 kB / 0.9795 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.2213, allocations: 4 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.2214, allocations: 19.92 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.2214, allocations: 19.91 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.2215, allocations: 4 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.2215, allocations: 0 / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.2215, allocations: 7.984 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.2215, allocations: 33.64 kB / 0.9796 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.713e-05/0.2216, allocations: 39.92 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2216, allocations: 0 / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2216, allocations: 0 / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2216, allocations: 0 / 0.9797 GB, free: 26.82 MB / 0.6198 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.0005607/0.2222, allocations: 363.5 kB / 0.98 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2223, allocations: 16.02 kB / 0.98 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.2223, allocations: 34.56 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.2224, allocations: 3.906 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.2225, allocations: 179 kB / 0.9802 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2225, allocations: 0 / 0.9802 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2225, allocations: 4 kB / 0.9802 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.2229, allocations: 81.59 kB / 0.9803 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2229, allocations: 0 / 0.9803 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2229, allocations: 4 kB / 0.9803 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2229, allocations: 0 / 0.9803 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004919/0.2234, allocations: 87.92 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.2238, allocations: 272.8 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.2242, allocations: 70.53 kB / 0.9807 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.2242, allocations: 3.938 kB / 0.9807 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.2242, allocations: 30.56 kB / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.2242, allocations: 0 / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0008787/0.2251, allocations: 161.7 kB / 0.9809 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.2252, allocations: 55.39 kB / 0.981 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.2253, allocations: 125.9 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.2253, allocations: 25.7 kB / 0.9811 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.2254, allocations: 96.03 kB / 0.9812 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.2254, allocations: 11.84 kB / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.2254, allocations: 0 / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.95e-05/0.2255, allocations: 318.8 kB / 0.9815 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.2257, allocations: 43.91 kB / 0.9816 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.226, allocations: 47.95 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.2262, allocations: 43.97 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2263, allocations: 0 / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005539/0.2268, allocations: 117.6 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.2269, allocations: 4 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2269, allocations: 336 / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2269, allocations: 0 / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.2271, allocations: 23.97 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2271, allocations: 0 / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.2273, allocations: 27.89 kB / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.2273, allocations: 3.953 kB / 0.9818 GB, free: 24.38 MB / 0.6198 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 7.696e-05/0.2274, allocations: 109.8 kB / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.2274, allocations: 7.922 kB / 0.9819 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.2275, allocations: 15.91 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2275, allocations: 0 / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2275, allocations: 3.984 kB / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2275, allocations: 4 kB / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.2277, allocations: 169.6 kB / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2277, allocations: 0 / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.2279, allocations: 19.98 kB / 0.9821 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2279, allocations: 3.984 kB / 0.9821 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.2279, allocations: 4 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2279, allocations: 0 / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2279, allocations: 0 / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/0.2285, allocations: 223.3 kB / 0.9824 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.2286, allocations: 77.11 kB / 0.9824 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.2286, allocations: 0 / 0.9824 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.2288, allocations: 19.97 kB / 0.9825 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.2289, allocations: 4 kB / 0.9825 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.2289, allocations: 7.875 kB / 0.9825 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.2289, allocations: 103.6 kB / 0.9826 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.229, allocations: 0 / 0.9826 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003003/0.2293, allocations: 12 kB / 0.9826 GB, free: 23.52 MB / 0.6198 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.0007689/0.23, allocations: 0.7475 MB / 0.9833 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005618/0.2306, allocations: 95.86 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2306, allocations: 0 / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.2309, allocations: 47.97 kB / 0.9834 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.2312, allocations: 7.984 kB / 0.9835 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.2318, allocations: 162.4 kB / 0.9836 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.2319, allocations: 0.6848 MB / 0.9843 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.632e-05/0.232, allocations: 0 / 0.9843 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.232, allocations: 23.42 kB / 0.9843 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of SimCode: time 7.72e-07/0.232, allocations: 0 / 0.9843 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.251, allocations: 1.327 MB / 0.9856 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.2513, allocations: 190.3 kB / 0.9858 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/2.626, allocations: 0 / 0.9858 GB, free: 20.23 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)