Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009554/0.0009554, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009791/0.000979, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.516/1.516, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 66.72 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1604, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001724/0.1621, allocations: 0.717 MB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007862/0.1629, allocations: 0.8126 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.163, allocations: 0 / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.163, allocations: 3.938 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.334e-05/0.1631, allocations: 3.938 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.253e-05/0.1631, allocations: 19.98 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.876e-05/0.1632, allocations: 43.86 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.1633, allocations: 11.98 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.018e-05/0.1634, allocations: 19.92 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.755e-05/0.1634, allocations: 19.92 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1634, allocations: 4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.1635, allocations: 4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.1635, allocations: 11.92 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.1635, allocations: 23.92 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.767e-05/0.1636, allocations: 43.8 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1636, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1636, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1636, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 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.0004758/0.1641, allocations: 375.6 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1641, allocations: 8.031 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.1642, allocations: 30.75 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.162e-05/0.1642, allocations: 8.938 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.894e-05/0.1643, allocations: 176.2 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1643, allocations: 4.375 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.1643, allocations: 384 / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.1646, allocations: 78.2 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1646, allocations: 3.938 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.1646, allocations: 3.938 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1646, allocations: 0 / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.1649, allocations: 67.92 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.1652, allocations: 276.8 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1654, allocations: 58.55 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.1656, allocations: 40.91 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.1656, allocations: 0 / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.1656, allocations: 30.56 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1656, allocations: 0 / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000502/0.1661, allocations: 137.5 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.1661, allocations: 51.41 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.1662, allocations: 117.8 kB / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1662, allocations: 25.7 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.1663, allocations: 84.14 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.1663, allocations: 15.69 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.1663, allocations: 25.7 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.1664, allocations: 318.8 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1666, allocations: 27.97 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1667, allocations: 31.95 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.167, allocations: 80.72 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.167, allocations: 0 / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003042/0.1673, allocations: 93.62 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1673, allocations: 8 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1673, allocations: 0 / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.1673, allocations: 4 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1674, allocations: 11.98 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1675, allocations: 0 / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.468e-05/0.1675, allocations: 15.97 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1676, allocations: 0 / 0.7873 GB, free: 9.215 MB / 0.6075 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 5.593e-05/0.1676, allocations: 117.8 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1676, allocations: 7.906 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.1677, allocations: 11.91 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1677, allocations: 384 / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1677, allocations: 0 / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.1677, allocations: 0 / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.1678, allocations: 177.6 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1678, allocations: 7.938 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.286e-05/0.1679, allocations: 15.92 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1679, allocations: 0 / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.168, allocations: 0 / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.168, allocations: 0 / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.168, allocations: 4 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.1683, allocations: 203.3 kB / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.1684, allocations: 77.11 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1684, allocations: 4 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1685, allocations: 15.98 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.1685, allocations: 7.984 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.1685, allocations: 0 / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.1686, allocations: 87.28 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.553e-06/0.1686, allocations: 0 / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002067/0.1688, allocations: 15.92 kB / 0.788 GB, free: 8.379 MB / 0.6075 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.0005675/0.1694, allocations: 0.7357 MB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003036/0.1697, allocations: 68.34 kB / 0.7888 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1697, allocations: 4 kB / 0.7888 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.1698, allocations: 39.89 kB / 0.7888 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.1701, allocations: 6.844 kB / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.1705, allocations: 159.1 kB / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.1707, allocations: 0.6924 MB / 0.7897 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.1707, allocations: 0 / 0.7897 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.1707, allocations: 15.44 kB / 0.7897 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1707, allocations: 0 / 0.7897 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2904/0.4612, allocations: 1.646 MB / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.525, allocations: 11.12 kB / 0.7913 GB, free: 4.988 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)