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 1.4/1.4, allocations: 287.4 MB / 302.6 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.0008954/0.0008953, allocations: 181.3 kB / 371.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.14/1.14, allocations: 205.4 MB / 0.6298 GB, free: 10.6 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.0006791/0.0006792, allocations: 98.72 kB / 0.7431 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003093, allocations: 13.77 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1421, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0006043/0.1427, allocations: 426.9 kB / 0.9792 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005807/0.1433, allocations: 0.7971 MB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.1433, allocations: 0 / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.1434, allocations: 3.938 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.889e-05/0.1434, allocations: 7.875 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.183e-05/0.1435, allocations: 11.98 kB / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.1435, allocations: 47.83 kB / 0.98 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.797e-05/0.1436, allocations: 12 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.68e-05/0.1437, allocations: 11.92 kB / 0.98 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.292e-05/0.1437, allocations: 23.92 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1437, allocations: 0 / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-06/0.1437, allocations: 4 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.1438, allocations: 3.984 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.1438, allocations: 37.64 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.174e-05/0.1438, allocations: 23.94 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1438, allocations: 0 / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1438, allocations: 4 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.1438, allocations: 0 / 0.9801 GB, free: 26.66 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.0003467/0.1442, allocations: 371.7 kB / 0.9805 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1442, allocations: 8.031 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.439e-05/0.1443, allocations: 38.75 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.927e-05/0.1443, allocations: 8.844 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.061e-05/0.1444, allocations: 180.2 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.1444, allocations: 384 / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.1444, allocations: 384 / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.1446, allocations: 82.22 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1446, allocations: 7.875 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.1446, allocations: 0 / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.1446, allocations: 0 / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.1449, allocations: 87.92 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.1451, allocations: 272.9 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.1453, allocations: 70.53 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.1455, allocations: 56.86 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.1455, allocations: 0 / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.1455, allocations: 30.56 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.1455, allocations: 3.938 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004467/0.146, allocations: 169.5 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.54e-05/0.146, allocations: 55.41 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.886e-05/0.146, allocations: 109.8 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/0.146, allocations: 29.64 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.034e-05/0.1461, allocations: 84.14 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.1461, allocations: 19.83 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.1461, allocations: 0 / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.194e-05/0.1461, allocations: 318.7 kB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.1463, allocations: 47.95 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1464, allocations: 39.97 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.1466, allocations: 97.06 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1466, allocations: 0 / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002692/0.1469, allocations: 125.5 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.1469, allocations: 8 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.1469, allocations: 0 / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.1469, allocations: 0 / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1471, allocations: 19.98 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1471, allocations: 3.938 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.194e-05/0.1471, allocations: 23.97 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.1472, allocations: 0 / 0.9824 GB, free: 24.11 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 3.984e-05/0.1472, allocations: 121.8 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.1472, allocations: 0 / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.519e-05/0.1472, allocations: 3.906 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1472, allocations: 4 kB / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1473, allocations: 0 / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1473, allocations: 0 / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.1474, allocations: 181.5 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1474, allocations: 0 / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.813e-05/0.1475, allocations: 23.98 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1475, allocations: 0 / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.1475, allocations: 0 / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1475, allocations: 384 / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1475, allocations: 0 / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.1478, allocations: 223.3 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.1478, allocations: 89.02 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.1478, allocations: 3.938 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.1479, allocations: 15.98 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.148, allocations: 3.984 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.148, allocations: 4 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.365e-05/0.148, allocations: 99.2 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.148, allocations: 0 / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001765/0.1482, allocations: 4 kB / 0.9831 GB, free: 23.25 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.0004235/0.1486, allocations: 0.7475 MB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.1489, allocations: 95.86 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1489, allocations: 4 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.149, allocations: 43.97 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.1493, allocations: 6.234 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.1496, allocations: 174.2 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.373e-05/0.1497, allocations: 0.6809 MB / 0.9848 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.1497, allocations: 3.984 kB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.1498, allocations: 11.44 kB / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1498, allocations: 0 / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3624/0.5122, allocations: 1.334 MB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.5124, allocations: 186.5 kB / 0.9863 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.385/1.898, allocations: 4 kB / 0.9863 GB, free: 19.96 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)