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.657/2.657, allocations: 287.5 MB / 302.4 MB, free: 8.266 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.001365/0.001366, allocations: 174.4 kB / 371 MB, free: 10.89 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.122/2.122, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.000928/0.0009278, allocations: 90.41 kB / 0.743 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007679/0.0007682, allocations: 14.12 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2231, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0008994/0.2241, allocations: 427 kB / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.2251, allocations: 0.7971 MB / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.2252, allocations: 0 / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.2252, allocations: 0 / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.39e-05/0.2253, allocations: 11.94 kB / 0.9797 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.073e-05/0.2254, allocations: 15.92 kB / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.951e-05/0.2255, allocations: 43.84 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.2256, allocations: 7.984 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.381e-05/0.2256, allocations: 15.92 kB / 0.9798 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.2257, allocations: 19.92 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.2257, allocations: 0 / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.2257, allocations: 4 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.2258, allocations: 15.92 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.2258, allocations: 25.7 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.287e-05/0.2259, allocations: 31.94 kB / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2259, allocations: 0 / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.966e-06/0.2259, allocations: 3.984 kB / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2259, allocations: 0 / 0.9799 GB, free: 26.84 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.0005529/0.2265, allocations: 371.5 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.2265, allocations: 12.02 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/0.2266, allocations: 30.56 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.2266, allocations: 7.906 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.2267, allocations: 178.9 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2268, allocations: 3.938 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.2268, allocations: 4 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.2271, allocations: 81.66 kB / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2272, allocations: 0 / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2272, allocations: 0 / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2272, allocations: 0 / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004986/0.2277, allocations: 87.92 kB / 0.9806 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.2281, allocations: 280.8 kB / 0.9809 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.2284, allocations: 70.47 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.2287, allocations: 52.92 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.2287, allocations: 0 / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.2288, allocations: 30.56 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.654e-06/0.2288, allocations: 0 / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0008671/0.2296, allocations: 169.5 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.2297, allocations: 51.41 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.222e-05/0.2298, allocations: 118 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.2298, allocations: 25.7 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.2299, allocations: 95.97 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.2299, allocations: 11.84 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.2299, allocations: 4 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.884e-05/0.23, allocations: 314.8 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.2302, allocations: 43.95 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.2305, allocations: 43.97 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.2308, allocations: 39.97 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2308, allocations: 4 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005578/0.2313, allocations: 125.5 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2314, allocations: 4 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2314, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.2314, allocations: 336 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.2316, allocations: 19.98 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.2317, allocations: 3.984 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.2318, allocations: 31.84 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.2318, allocations: 384 / 0.9821 GB, free: 24.34 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.524e-05/0.2319, allocations: 113.8 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.232, allocations: 0 / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.232, allocations: 15.89 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.232, allocations: 3.938 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.232, allocations: 0 / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.232, allocations: 0 / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.2322, allocations: 177.6 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2322, allocations: 4 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.2324, allocations: 19.98 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2324, allocations: 0 / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.2324, allocations: 0 / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2324, allocations: 0 / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.2325, allocations: 4 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/0.2331, allocations: 231.3 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.2331, allocations: 77.11 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.2331, allocations: 0 / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.2333, allocations: 15.98 kB / 0.9827 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.2334, allocations: 7.984 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2334, allocations: 0 / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.2335, allocations: 87.28 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2335, allocations: 3.938 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002714/0.2337, allocations: 12 kB / 0.9828 GB, free: 23.49 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.0008129/0.2346, allocations: 0.7552 MB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005603/0.2351, allocations: 91.92 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2352, allocations: 0 / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.2354, allocations: 47.95 kB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.2358, allocations: 8 kB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005267/0.2364, allocations: 170.3 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.2365, allocations: 0.6809 MB / 0.9845 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.161e-05/0.2366, allocations: 0 / 0.9845 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.2367, allocations: 19.7 kB / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of SimCode: time 7.82e-07/0.2367, allocations: 0 / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.2591, allocations: 1.337 MB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/0.2595, allocations: 189.8 kB / 0.986 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/2.887, allocations: 0 / 0.986 GB, free: 20.19 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)