Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Sources.Validation.Sine,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",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.000767/0.0007671, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000801/0.000801, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.632/1.632, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0004752/0.0004752, allocations: 21.59 kB / 0.6739 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1777, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.0006482/0.1784, allocations: 349.7 kB / 0.7878 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006921/0.1791, allocations: 0.7971 MB / 0.7885 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.1791, allocations: 4 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.1792, allocations: 3.938 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.558e-05/0.1792, allocations: 11.92 kB / 0.7886 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.1793, allocations: 4 kB / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.353e-05/0.1794, allocations: 19.92 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.1794, allocations: 0 / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.222e-05/0.1795, allocations: 4 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.1795, allocations: 11.92 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1796, allocations: 0 / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.1796, allocations: 0 / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.1796, allocations: 7.984 kB / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.1796, allocations: 29.7 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.202e-05/0.1797, allocations: 15.97 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1797, allocations: 3.938 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.023e-06/0.1797, allocations: 0 / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.237e-06/0.1797, allocations: 0 / 0.7886 GB, free: 10.55 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002986/0.18, allocations: 331.5 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.18, allocations: 8.031 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.6e-05/0.1801, allocations: 34.56 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.708e-05/0.1801, allocations: 4 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.785e-05/0.1802, allocations: 167 kB / 0.7892 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1802, allocations: 4 kB / 0.7892 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.1802, allocations: 0 / 0.7892 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.1803, allocations: 37.69 kB / 0.7892 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1803, allocations: 0 / 0.7892 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.1803, allocations: 0 / 0.7892 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1803, allocations: 0 / 0.7892 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.3e-05/0.1804, allocations: 23.98 kB / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.1806, allocations: 157.6 kB / 0.7894 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.308e-05/0.1806, allocations: 30.53 kB / 0.7894 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.1807, allocations: 12.92 kB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1807, allocations: 0 / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.1807, allocations: 38.56 kB / 0.7895 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.1807, allocations: 0 / 0.7895 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001768/0.1809, allocations: 57.67 kB / 0.7895 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.1809, allocations: 51.41 kB / 0.7896 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.576e-05/0.181, allocations: 109.7 kB / 0.7897 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.181, allocations: 29.7 kB / 0.7897 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.1811, allocations: 84.27 kB / 0.7898 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.1811, allocations: 3.906 kB / 0.7898 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.1811, allocations: 4 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.1812, allocations: 310.8 kB / 0.7901 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.1812, allocations: 11.98 kB / 0.7901 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.1812, allocations: 8 kB / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/0.1813, allocations: 12.06 kB / 0.7901 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1813, allocations: 3.953 kB / 0.7901 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.347e-05/0.1814, allocations: 53.67 kB / 0.7902 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.1814, allocations: 4 kB / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.1814, allocations: 0 / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1814, allocations: 256 / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.1815, allocations: 4 kB / 0.7902 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1815, allocations: 8.031 kB / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.1815, allocations: 7.984 kB / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.1816, allocations: 0 / 0.7902 GB, free: 8.742 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 (1): * Single equations (assignments): 1 * 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 5.287e-05/0.1816, allocations: 113.8 kB / 0.7903 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-06/0.1816, allocations: 7.891 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.1817, allocations: 7.125 kB / 0.7903 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1817, allocations: 0 / 0.7903 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.1817, allocations: 0 / 0.7903 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.1817, allocations: 0 / 0.7903 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.622e-05/0.1818, allocations: 153.7 kB / 0.7905 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1818, allocations: 0 / 0.7905 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.1818, allocations: 11.94 kB / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1818, allocations: 3.984 kB / 0.7905 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.1818, allocations: 0 / 0.7905 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1818, allocations: 4 kB / 0.7905 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1818, allocations: 0 / 0.7905 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.1819, allocations: 81.03 kB / 0.7906 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.182, allocations: 81.09 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.182, allocations: 3.953 kB / 0.7906 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.726e-05/0.182, allocations: 4 kB / 0.7906 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.1821, allocations: 3.938 kB / 0.7906 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.1821, allocations: 3.938 kB / 0.7906 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.889e-05/0.1821, allocations: 83.27 kB / 0.7907 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1821, allocations: 4.031 kB / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001696/0.1823, allocations: 4 kB / 0.7907 GB, free: 8.082 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 (1): * Single equations (assignments): 1 * 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.0003212/0.1826, allocations: 0.6047 MB / 0.7913 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.45e-05/0.1827, allocations: 20.02 kB / 0.7913 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1827, allocations: 0 / 0.7913 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/0.1828, allocations: 19.92 kB / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1829, allocations: 13.56 kB / 0.7914 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.1832, allocations: 142.4 kB / 0.7915 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.1834, allocations: 0.6808 MB / 0.7922 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.935e-05/0.1834, allocations: 0 / 0.7922 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.1834, allocations: 11.44 kB / 0.7922 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.1834, allocations: 0 / 0.7922 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009148/0.1926, allocations: 0.9055 MB / 0.7931 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.1928, allocations: 192 kB / 0.7933 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.444/1.637, allocations: 0 / 0.7933 GB, free: 5.508 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) Environment - environmentSimulation: