Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.824/1.824, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 170.6 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 0.578 GB, free: 20.37 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008416/0.0008416, allocations: 87.14 kB / 0.6826 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 11.75 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1884, allocations: 106.3 MB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001467/0.1899, allocations: 1.102 MB / 0.902 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002863/0.1902, allocations: 104.5 kB / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.1903, allocations: 0 / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.1903, allocations: 0 / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.07e-05/0.1904, allocations: 4 kB / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.649e-05/0.1904, allocations: 4 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.229e-05/0.1905, allocations: 19.92 kB / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1906, allocations: 8 kB / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.312e-05/0.1907, allocations: 11.92 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.1908, allocations: 7.984 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1908, allocations: 0 / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-06/0.1908, allocations: 0 / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.1908, allocations: 11.92 kB / 0.9022 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.1909, allocations: 29.7 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.95e-05/0.1909, allocations: 23.91 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1909, allocations: 0 / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1909, allocations: 0 / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1909, allocations: 0 / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003582/0.1913, allocations: 335.5 kB / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1914, allocations: 11.97 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.1914, allocations: 38.75 kB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.1914, allocations: 4.938 kB / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.42e-05/0.1915, allocations: 172.5 kB / 0.9028 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1915, allocations: 384 / 0.9028 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.1916, allocations: 4.375 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1917, allocations: 54.23 kB / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1918, allocations: 3.938 kB / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1918, allocations: 4 kB / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.1918, allocations: 0 / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.1919, allocations: 43.97 kB / 0.9029 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.1923, allocations: 276.8 kB / 0.9031 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1924, allocations: 34.56 kB / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.184e-05/0.1925, allocations: 24.91 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.1925, allocations: 7.938 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.1926, allocations: 34.56 kB / 0.9032 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.1926, allocations: 0 / 0.9032 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003309/0.1929, allocations: 97.67 kB / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.1929, allocations: 51.41 kB / 0.9034 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.193, allocations: 101.8 kB / 0.9035 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.193, allocations: 25.7 kB / 0.9035 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.1931, allocations: 84.14 kB / 0.9036 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.1931, allocations: 7.906 kB / 0.9036 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.1931, allocations: 0 / 0.9036 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.893e-05/0.1931, allocations: 314.9 kB / 0.9039 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.1932, allocations: 15.98 kB / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.1933, allocations: 27.97 kB / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1934, allocations: 48.77 kB / 0.904 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1934, allocations: 0 / 0.904 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001725/0.1936, allocations: 77.66 kB / 0.904 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1936, allocations: 4 kB / 0.904 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1937, allocations: 0 / 0.904 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1937, allocations: 0 / 0.904 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.1939, allocations: 32 kB / 0.9041 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1939, allocations: 4 kB / 0.9041 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.1939, allocations: 15.98 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.1939, allocations: 0 / 0.9041 GB, free: 60.19 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.194, allocations: 109.8 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.194, allocations: 4 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.618e-05/0.1941, allocations: 3.125 kB / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1941, allocations: 0 / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1941, allocations: 4 kB / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.1941, allocations: 3.938 kB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.1942, allocations: 161.6 kB / 0.9044 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1942, allocations: 0 / 0.9044 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.1944, allocations: 31.97 kB / 0.9044 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1944, allocations: 0 / 0.9044 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.1944, allocations: 11.94 kB / 0.9044 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1944, allocations: 0 / 0.9044 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1944, allocations: 0 / 0.9044 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.1946, allocations: 179.3 kB / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.1946, allocations: 81.3 kB / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.1947, allocations: 3.984 kB / 0.9047 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.1947, allocations: 4 kB / 0.9047 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.1948, allocations: 7.984 kB / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1948, allocations: 0 / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.146e-05/0.1948, allocations: 79.27 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1948, allocations: 4 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001879/0.195, allocations: 4.031 kB / 0.9048 GB, free: 59.41 MB / 0.6042 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 (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.000401/0.1954, allocations: 0.7085 MB / 0.9055 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001869/0.1956, allocations: 39.97 kB / 0.9055 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1956, allocations: 0 / 0.9055 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.613e-05/0.1957, allocations: 20.05 kB / 0.9055 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.196, allocations: 15.92 kB / 0.9055 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.1964, allocations: 130.3 kB / 0.9056 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.1965, allocations: 0.677 MB / 0.9063 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.617e-05/0.1966, allocations: 4.062 kB / 0.9063 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.1966, allocations: 11.44 kB / 0.9063 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.1966, allocations: 0 / 0.9063 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01099/0.2076, allocations: 0.9937 MB / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.2079, allocations: 229.9 kB / 0.9075 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/1.855, allocations: 0 / 0.9075 GB, free: 56.63 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)